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

Breadcrumb

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

function HttpKernel::terminate

Overrides TerminableInterface::terminate

1 call to HttpKernel::terminate()
HttpKernel::terminateWithException in vendor/symfony/http-kernel/HttpKernel.php
@internal

File

vendor/symfony/http-kernel/HttpKernel.php, line 110

Class

HttpKernel
HttpKernel notifies events to convert a Request object to a Response one.

Namespace

Symfony\Component\HttpKernel

Code

public function terminate(Request $request, Response $response) : void {
    try {
        $this->terminating = true;
        $this->dispatcher
            ->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);
    } finally {
        $this->terminating = false;
    }
}

API Navigation

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