You are here

interface TerminableInterface in Zircon Profile 8

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

Terminable extends the Kernel request/response cycle with dispatching a post response event after sending the response and before shutting down the kernel.

@author Jordi Boggiano <j.boggiano@seld.be> @author Pierre Minnieur <pierre.minnieur@sensiolabs.de>

Hierarchy

Expanded class hierarchy of TerminableInterface

All classes that implement TerminableInterface

5 files declare their use of TerminableInterface
BuilderTest.php in vendor/stack/builder/tests/unit/Stack/BuilderTest.php
DrupalKernel.php in core/lib/Drupal/Core/DrupalKernel.php
Contains \Drupal\Core\DrupalKernel.
HttpCache.php in vendor/symfony/http-kernel/HttpCache/HttpCache.php
StackedHttpKernel.php in vendor/stack/builder/src/Stack/StackedHttpKernel.php
StackedHttpKernelTest.php in vendor/stack/builder/tests/unit/Stack/StackedHttpKernelTest.php

File

vendor/symfony/http-kernel/TerminableInterface.php, line 24

Namespace

Symfony\Component\HttpKernel
View source
interface TerminableInterface {

  /**
   * Terminates a request/response cycle.
   *
   * Should be called after sending the response and before shutting down the kernel.
   *
   * @param Request  $request  A Request instance
   * @param Response $response A Response instance
   */
  public function terminate(Request $request, Response $response);

}

Members

Namesort descending Modifiers Type Description Overrides
TerminableInterface::terminate public function Terminates a request/response cycle. 6