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