Sane::handler()
Handler getter
Parameters
Name | Type | Default | Description |
---|---|---|---|
$type * | string |
– | |
$lazy | bool |
false |
If set to true , null is returned for undefined handlers |
Return type
Kirby\Sane\Handler
|null
Exceptions
Type | Description |
---|---|
Kirby\Exception\NotFoundException |
If no handler was found and $lazy was set to false |