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