ИсключениеAuthorizationException
класс AuthorizationException расширяет Exception (Просмотреть исходный код)
Свойства
| protected Response | $response | Ответ от шлюза. |
Методы
| void | __construct(string|null $message = null, mixed $code = null, Throwable $previous = null) Создать новый экземпляр исключения авторизации. | |
| Response | response() Получить ответ от шлюза. | |
| $this | setResponse(Response $response) Установить ответ от шлюза. | |
| Response | toResponse() Создать объект ответа отказа от этого исключения. |
Подробности
void __construct(string|null $message = null, mixed $code = null, Throwable $previous = null)
Создать новый экземпляр исключения авторизации.
Response response()
Получить ответ от шлюза.
$this setResponse(Response $response)
Установить ответ от шлюза.
Response toResponse()
Создать объект ответа отказа от этого исключения.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Auth/Access/AuthorizationException.html