Authorizable

Authorizable

trait Authorizable (View source)

Methods

bool can(string $ability, array|mixed $arguments = array())

Determine if the entity has a given ability.

bool cant(string $ability, array|mixed $arguments = array())

Determine if the entity does not have a given ability.

bool cannot(string $ability, array|mixed $arguments = array())

Determine if the entity does not have a given ability.

doc_Laravel
2016-11-02 16:06:44
Comments
Leave a Comment

Please login to continue.