Skip to content

Kirby 4.4.1

$modelwithcontent->toArray()

Convert the model to a simple array

$modelwithcontent->toArray(): array

Return type

array

Parent class

Kirby\Cms\ModelWithContent