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