You are here

public function TerminableInterface::terminate in Zircon Profile 8

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

Terminates a request/response cycle.

Should be called after sending the response and before shutting down the kernel.

Parameters

Request $request A Request instance:

Response $response A Response instance:

6 methods override TerminableInterface::terminate()
DrupalKernel::terminate in core/lib/Drupal/Core/DrupalKernel.php
Terminates a request/response cycle.
HttpCache::terminate in vendor/symfony/http-kernel/HttpCache/HttpCache.php
Terminates a request/response cycle.
HttpKernel::terminate in vendor/symfony/http-kernel/HttpKernel.php
Terminates a request/response cycle.
Kernel::terminate in vendor/symfony/http-kernel/Kernel.php
Terminates a request/response cycle.
StackedHttpKernel::terminate in vendor/stack/builder/src/Stack/StackedHttpKernel.php
Terminates a request/response cycle.

... See full list

File

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

Class

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

Namespace

Symfony\Component\HttpKernel

Code

public function terminate(Request $request, Response $response);