Skip to content

Kirby 4.5.0

Collection::factory()

Creates a collection from a nested array structure

Collection::factory(array $items): Kirby\Blueprint\Collection

Parameters

Name Type Default
$items * array

Return type

Kirby\Blueprint\Collection

Parent class

Kirby\Blueprint\Collection