$component->toArray() Converts all props and computed props to an array kirby/src/Toolkit/Component.php#L278 $component->toArray(): array Return type array Parent class Kirby\Toolkit\Component