Skip to content

Kirby 4.1.2

$component->toArray()

Converts all props and computed props to an array

$component->toArray(): array

Return type

array

Parent class

Kirby\Toolkit\Component