Authorizable (Contracts)
Authorizable
interface Authorizable (View source)
Methods
bool | can( string $ability, array|mixed $arguments = array()) Determine if the entity has a given ability. |
Details
bool can( string $ability, array|mixed $arguments = array())
Determine if the entity has a given ability.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Contracts/Auth/Access/Authorizable.html