Skip to content

Kirby 3.8.4

new Structure()

Creates a new Collection with the given objects

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

Parameters

Name Type Default Description
$objects array [ ] Kirby\Cms\StructureObject` objects or props arrays
$parent object|null null

Parent class

Kirby\Cms\Structure