$userGuards->isExecutable()
Non-throwing counterpart of ::ensureExecutable(). As the validators are part of the action, this catches every exception the layers can throw, not just the ability and permission exceptions.
$userGuards->isExecutable(string $action, mixed ...$arguments): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $actionrequired | string |
no default value |
| ...$arguments | mixed |
no default value |
Return type
bool
Parent class
Kirby\Guards\UserGuards
inherited from Kirby\Guards\ModelGuards