Skip to content

Kirby 5.2.0

$slot->toArray()

$slot->toArray(): array

Return type

array

This method modifies the existing $slot object it is applied to and returns it again.

Parent class

Kirby\Panel\Lab\Doc\Slot