trait AuthorizesRequests (View source)
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 on the incoming request. |
Authorize a given action for the current user.
Authorize a given action for a user.
Authorize a resource action based on the incoming request.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Foundation/Auth/Access/AuthorizesRequests.html