$layouts->get()
Getter
$layouts->get(string $key, mixed $default = null): Layout|mixed|null
Parameters
| Name | Type | Default |
|---|---|---|
| $keyrequired | string |
no default value |
| $default | mixed |
null
|
Return types
Kirby\Cms\Layoutormixedornull
Parent class
Kirby\Cms\Layouts
inherited from Kirby\Toolkit\Collection