Exception\UnauthorizedHttpException (Component\HttpKernel)
Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException
class UnauthorizedHttpException extends HttpException
UnauthorizedHttpException.
Methods
__construct(string $challenge, string $message = null, Exception $previous = null, int $code) Constructor. | ||
integer | getStatusCode() Returns the status code. | from HttpException |
array | getHeaders() Returns response headers. | from HttpException |
Details
public __construct(string $challenge, string $message = null, Exception $previous = null, int $code)
Constructor.
public integer getStatusCode()
Returns the status code.
public array getHeaders()
Returns response headers.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/HttpKernel/Exception/UnauthorizedHttpException.html