AuthorizesRequests
trait AuthorizesRequests (View source)
Methods
authorize(
mixed $ability,
mixed|array $arguments = array())
Authorize a given action against a set of arguments.
authorizeForUser(
Authenticatable|mixed $user,
mixed $ability,
mixed|array $arguments = array())
Authorize a given action for a user.
Details
at line line 18
Response
authorize(
mixed $ability,
mixed|array $arguments = array())
Authorize a given action against a set of arguments.
at line line 35
Response
authorizeForUser(
Authenticatable|mixed $user,
mixed $ability,
mixed|array $arguments = array())
Authorize a given action for a user.