new Structure()
Creates a new Collection with the given objects
Parameters
Name | Type | Default | Description |
---|---|---|---|
$objects | array |
[ ] |
Kirby\Cms\StructureObject` objects or props arrays |
$parent | object |null |
null |