Skip to content

Kirby 4.2.0

$path->toArray()

Converts the object into an array

$path->toArray(?Closure $map = null): array

Parameters

Name Type Default
$map Closure|null null

Return type

array

Parent class

Kirby\Http\Path inherited from Kirby\Toolkit\Collection