Structure::factory()
Creates a new structure collection from a an array of item props
Structure::factory(?array $items = null, array $params = [ ]): Kirby\Cms\Structure
Parameters
Name | Type | Default |
---|---|---|
$items | array |null |
null |
$params | array |
[ ] |