$items->get()
Getter
$items->get(string $key, mixed $default = null): Kirby\Cms\Item|mixed|null
Parameters
| Name | Type | Default |
|---|---|---|
| $keyrequired | string |
no default value |
| $default | mixed |
null
|
Return types
Kirby\Cms\Itemormixedornull
This method modifies the existing $items object it is applied to and returns it again.
Parent class
Kirby\Cms\Items
inherited from Kirby\Toolkit\Collection