public function HttpKernel::terminate

@api

Overrides TerminableInterface::terminate

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php, line 88

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) {
  $this->dispatcher
    ->dispatch(KernelEvents::TERMINATE, new PostResponseEvent($this, $request, $response));
}