Items::factory()
Creates a new item collection from an array of item props
Items::factory(array>|null $items = null, array $params = []): Items
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $items | array<array<string, mixed>>ornull |
null
|
|
| $params | array<string, mixed> |
[]
|
Collection options, see ::__construct() |