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\HttpKernelCode
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;
}
}