Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TerminableInterface.php

function TerminableInterface::terminate

Terminates a request/response cycle.

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

5 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 core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php
Terminates a request/response cycle.

File

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

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) : void;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal