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