public function HttpKernel::terminate in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/HttpKernel.php \Symfony\Component\HttpKernel\HttpKernel::terminate()
Terminates a request/response cycle.
Should be called after sending the response and before shutting down the kernel.
Parameters
Request $request A Request instance:
Response $response A Response instance:
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 77
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) {
$this->dispatcher
->dispatch(KernelEvents::TERMINATE, new PostResponseEvent($this, $request, $response));
}