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