interface HttpExceptionInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Exception/HttpExceptionInterface.php \Symfony\Component\HttpKernel\Exception\HttpExceptionInterface
Interface for HTTP error exceptions.
@author Kris Wallsmith <kris@symfony.com>
Hierarchy
- interface \Symfony\Component\HttpKernel\Exception\HttpExceptionInterface
Expanded class hierarchy of HttpExceptionInterface
All classes that implement HttpExceptionInterface
10 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 - Contains \Drupal\Core\EventSubscriber\DefaultExceptionHtmlSubscriber.
- DefaultExceptionSubscriber.php in core/
lib/ Drupal/ Core/ EventSubscriber/ DefaultExceptionSubscriber.php - Contains \Drupal\Core\EventSubscriber\DefaultExceptionSubscriber.
- DrupalKernel.php in core/
lib/ Drupal/ Core/ DrupalKernel.php - Contains \Drupal\Core\DrupalKernel.
- ExceptionListener.php in vendor/
symfony/ http-kernel/ EventListener/ ExceptionListener.php
File
- vendor/
symfony/ http-kernel/ Exception/ HttpExceptionInterface.php, line 19
Namespace
Symfony\Component\HttpKernel\ExceptionView source
interface HttpExceptionInterface {
/**
* Returns the status code.
*
* @return int An HTTP response status code
*/
public function getStatusCode();
/**
* Returns response headers.
*
* @return array Response headers
*/
public function getHeaders();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HttpExceptionInterface:: |
public | function | Returns response headers. | 1 |
HttpExceptionInterface:: |
public | function | Returns the status code. | 1 |