Skip to content

Kirby 4.2.0

$obj->toArray()

Converts the object to an array

$obj->toArray(): array

Return type

array

Parent class

Kirby\Toolkit\Obj