Skip to content

Kirby 4.2.0

$modelwithcontent->toArray()

Convert the model to a simple array

$modelwithcontent->toArray(): array

Return type

array

Parent class

Kirby\Cms\ModelWithContent