Skip to content

Kirby 4.5.0

$component->toArray()

Converts all props and computed props to an array

$component->toArray(): array

Return type

array

Parent class

Kirby\Toolkit\Component