Symfony\Component\HttpKernel\HttpKernel::finishRequest PHP Method

finishRequest() private method

Note that the order of the operations is important here, otherwise operations such as {@link RequestStack::getParentRequest()} can lead to weird results.
private finishRequest ( Request $request, integer $type )
$request Symfony\Component\HttpFoundation\Request
$type integer
    private function finishRequest(Request $request, $type)
    {
        $this->dispatcher->dispatch(KernelEvents::FINISH_REQUEST, new FinishRequestEvent($this, $request, $type));
        $this->requestStack->pop();
    }