Skip to content

Kirby 4.4.1

$component->toArray()

Converts all props and computed props to an array

$component->toArray(): array

Return type

array

Parent class

Kirby\Toolkit\Component