AuthorizesRequests
trait AuthorizesRequests (View source)
Methods
Response authorize(mixed $ability, mixed|array $arguments = array()) Authorize a given action for the current user. Response authorizeForUser(Authenticatable|mixed $user, mixed $ability, mixed|array $arguments = array()) Authorize a given action for a user. void authorizeResource(string $model, string|null $parameter = null, array $options = array(), Request|null $request = null) Authorize a resource action based