Skip to content

Kirby 5.2.0

$location->toArray()

Converts the object into a nicely readable array

$location->toArray(): array

Return type

array

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

Parent class

Kirby\Image\Location