You are here

interface HttpExceptionInterface in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/Exception/HttpExceptionInterface.php \Symfony\Component\HttpKernel\Exception\HttpExceptionInterface

Interface for HTTP error exceptions.

@author Kris Wallsmith <kris@symfony.com>

Hierarchy

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

... See full list

File

vendor/symfony/http-kernel/Exception/HttpExceptionInterface.php, line 19

Namespace

Symfony\Component\HttpKernel\Exception
View 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

Namesort descending Modifiers Type Description Overrides
HttpExceptionInterface::getHeaders public function Returns response headers. 1
HttpExceptionInterface::getStatusCode public function Returns the status code. 1