Exception\HttpExceptionInterface (Component\HttpKernel)
Symfony\Component\HttpKernel\Exception\HttpExceptionInterface
interface HttpExceptionInterface
Interface for HTTP error exceptions.
Methods
int | getStatusCode() Returns the status code. | |
array | getHeaders() Returns response headers. |
Details
public int 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/HttpExceptionInterface.html