function HttpKernel::finishRequest
Publishes the finish request event, then pop the request from the stack.
Note that the order of the operations is important here, otherwise operations such as {@link RequestStack::getParentRequest()} can lead to weird results.
3 calls to HttpKernel::finishRequest()
- HttpKernel::filterResponse in vendor/
symfony/ http-kernel/ HttpKernel.php - Filters a response object.
- HttpKernel::handle in vendor/
symfony/ http-kernel/ HttpKernel.php - Handles a Request to convert it to a Response.
- HttpKernel::handleThrowable in vendor/
symfony/ http-kernel/ HttpKernel.php - Handles a throwable by trying to convert it to a Response.
File
-
vendor/
symfony/ http-kernel/ HttpKernel.php, line 230
Class
- HttpKernel
- HttpKernel notifies events to convert a Request object to a Response one.
Namespace
Symfony\Component\HttpKernelCode
private function finishRequest(Request $request, int $type) : void {
$this->dispatcher
->dispatch(new FinishRequestEvent($this, $request, $type), KernelEvents::FINISH_REQUEST);
}