Skip to content

Kirby 5.0.2

$items->toArray()

Convert the items to an array

$items->toArray(Closure|null $map = null): array

Parameters

Name Type Default
$map Closureornull null

Return type

array

Parent class

Kirby\Cms\Items