Skip to content

Kirby 4.4.1

new Collection()

Creates a new Collection with the given objects

new Collection(array $objects = [ ], object|null $parent = null)

Parameters

Name Type Default
$objects array [ ]
$parent object|null null

Parent class

Kirby\Cms\Collection