$fileAbilities->may()
Non-throwing counterpart of ::ensure()
$fileAbilities->may(string $action): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $actionrequired | string |
no default value |
Return type
bool
Parent class
Kirby\Guards\FileAbilities
inherited from Kirby\Guards\ModelAbilities