trait Authorizable (View source)
bool | can(iterable|string $abilities, array|mixed $arguments = []) Determine if the entity has the given abilities. | |
bool | canAny(iterable|string $abilities, array|mixed $arguments = []) Determine if the entity has any of the given abilities. | |
bool | cant(iterable|string $abilities, array|mixed $arguments = []) Determine if the entity does not have the given abilities. | |
bool | cannot(iterable|string $abilities, array|mixed $arguments = []) Determine if the entity does not have the given abilities. |
Determine if the entity has the given abilities.
Determine if the entity has any of the given abilities.
Determine if the entity does not have the given abilities.
Determine if the entity does not have the given abilities.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Foundation/Auth/Access/Authorizable.html