private function HttpKernel::finishRequest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/HttpKernel.php \Symfony\Component\HttpKernel\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.
Parameters
Request $request:
int $type:
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::handleException in vendor/
symfony/ http-kernel/ HttpKernel.php - Handles an exception by trying to convert it to a Response.
File
- vendor/
symfony/ http-kernel/ HttpKernel.php, line 196
Class
- HttpKernel
- HttpKernel notifies events to convert a Request object to a Response one.
Namespace
Symfony\Component\HttpKernelCode
private function finishRequest(Request $request, $type) {
$this->dispatcher
->dispatch(KernelEvents::FINISH_REQUEST, new FinishRequestEvent($this, $request, $type));
$this->requestStack
->pop();
}