Skip to content

Kirby 6.0.0

$model->toArray()

$model->toArray(): array

Return type

array<string, mixed>

Exceptions

Type Description
Kirby\Exception\NotFoundException
Exception

Parent class

Kirby\Api\Model