UnauthorizedHttpException
class UnauthorizedHttpException extends HttpException
UnauthorizedHttpException.
Methods
| __construct(string $challenge, $message = null, Exception $previous = null, $code) Конструктор. | ||
| int | getStatusCode() Возвращает код состояния. | from HttpException |
| array | getHeaders() Возвращает заголовки ответа. | from HttpException |
Details
__construct(string $challenge, $message = null, Exception $previous = null, $code)
Конструктор.
Parameters
| string | $challenge | Строка вызова WWW-Authenticate |
| $message | ||
| Exception | $previous | |
| $code |
int getStatusCode()
Возвращает код состояния.
Return Value
| int | Код состояния HTTP ответа |
array getHeaders()
Возвращает заголовки ответа.
Return Value
| array | Заголовки ответа |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/HttpKernel/Exception/UnauthorizedHttpException.html