trait HandlesAuthorization (View source)
Response | allow(string|null $message = null) Create a new access response. | |
void | deny(string $message = 'This action is unauthorized.') Throws an unauthorized exception. |
Create a new access response.
Throws an unauthorized exception.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/Auth/Access/HandlesAuthorization.html