public function RouterListener::onKernelFinishRequest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/EventListener/RouterListener.php \Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest()
File
- vendor/
symfony/ http-kernel/ EventListener/ RouterListener.php, line 107
Class
- RouterListener
- Initializes the context from the request and sets request attributes based on a matching route.
Namespace
Symfony\Component\HttpKernel\EventListenerCode
public function onKernelFinishRequest(FinishRequestEvent $event) {
if (null === $this->requestStack) {
return;
// removed when requestStack is required
}
$this
->setCurrentRequest($this->requestStack
->getParentRequest());
}