Skip to content

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