$modelAbilities->may()
Non-throwing counterpart of ::ensure()
$modelAbilities->may(string $action): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $actionrequired | string |
no default value |
Return type
bool
Non-throwing counterpart of ::ensure()
$modelAbilities->may(string $action): bool
| Name | Type | Default |
|---|---|---|
| $actionrequired | string |
no default value |
bool