new Items()
Creates a new collection of items
new Items(iterable- $objects = [], array
$options = [])
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $objects | iterable<Kirby\Cms\Item> |
[]
|
|
| $options | array<string, mixed> |
[]
|
Options incl. the parent model and field |