interface HttpExceptionInterface
Interface for HTTP error exceptions.
@author Kris Wallsmith <kris@symfony.com>
Hierarchy
- interface \Symfony\Component\HttpKernel\Exception\HttpExceptionInterface extends \Symfony\Component\HttpKernel\Exception\Throwable
Expanded class hierarchy of HttpExceptionInterface
All classes that implement HttpExceptionInterface
15 files declare their use of HttpExceptionInterface
- authorize.php in core/
authorize.php - Administrative script for running authorized file operations.
- DefaultExceptionHtmlSubscriber.php in core/
lib/ Drupal/ Core/ EventSubscriber/ DefaultExceptionHtmlSubscriber.php - DrupalKernel.php in core/
lib/ Drupal/ Core/ DrupalKernel.php - ErrorCollection.php in core/
modules/ jsonapi/ src/ JsonApiResource/ ErrorCollection.php - ErrorListener.php in vendor/
symfony/ http-kernel/ EventListener/ ErrorListener.php
File
-
vendor/
symfony/ http-kernel/ Exception/ HttpExceptionInterface.php, line 19
Namespace
Symfony\Component\HttpKernel\ExceptionView source
interface HttpExceptionInterface extends \Throwable {
/**
* Returns the status code.
*/
public function getStatusCode() : int;
/**
* Returns response headers.
*/
public function getHeaders() : array;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
HttpExceptionInterface::getHeaders | public | function | Returns response headers. | 1 |
HttpExceptionInterface::getStatusCode | public | function | Returns the status code. | 1 |