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

Breadcrumb

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

function Kernel::terminate

Overrides TerminableInterface::terminate

File

vendor/symfony/http-kernel/Kernel.php, line 138

Class

Kernel
The Kernel is the heart of the Symfony system.

Namespace

Symfony\Component\HttpKernel

Code

public function terminate(Request $request, Response $response) : void {
    if (false === $this->booted) {
        return;
    }
    if ($this->getHttpKernel() instanceof TerminableInterface) {
        $this->getHttpKernel()
            ->terminate($request, $response);
    }
}
RSS feed
Powered by Drupal