Skip to content

Kirby 6.0.0

$modelWithContent->toArray()

Convert the model to a simple array

$modelWithContent->toArray(): array

Return type

array

Parent class

Kirby\Cms\ModelWithContent