HandlesAuthorization
trait HandlesAuthorization (View source)
Методы
| Response | allow(string|null $message = null, mixed $code = null) Создать новый ответ доступа. | |
| Response | deny(string|null $message = null, mixed|null $code = null) Выбрасывает исключение отказа в доступе. |
Детали
protected Response allow(string|null $message = null, mixed $code = null)
Создать новый ответ доступа.
protected Response deny(string|null $message = null, mixed|null $code = null)
Выбрасывает исключение отказа в доступе.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/7.x/Illuminate/Auth/Access/HandlesAuthorization.html