Interface for HTTP error exceptions.
@author Kris Wallsmith <kris@symfony.com>
Expanded class hierarchy of HttpExceptionInterface
All classes that implement HttpExceptionInterface
interface HttpExceptionInterface {
/**
* Returns the status code.
*
* @return integer An HTTP response status code
*/
public function getStatusCode();
/**
* Returns response headers.
*
* @return array Response headers
*/
public function getHeaders();
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HttpExceptionInterface:: |
public | function | Returns response headers. | 1 |
HttpExceptionInterface:: |
public | function | Returns the status code. | 1 |