Skip to content

Kirby 4.5.0

$modelwithcontent->toArray()

Convert the model to a simple array

$modelwithcontent->toArray(): array

Return type

array

Parent class

Kirby\Cms\ModelWithContent