getRequestStack() public method

public getRequestStack ( ) : Symfony\Component\HttpFoundation\RequestStack
return Symfony\Component\HttpFoundation\RequestStack
Esempio n. 1
0
 /**
  * @param Jarves $jarves
  * @param PageStack $pageStack
  * @param EditMode $editMode
  * @param FrontendRouter $frontendRouter
  * @param PageResponseFactory $pageResponseFactory
  * @param RequestContext $requestContext
  * @param LoggerInterface $logger
  * @internal param PageResponse $pageResponse
  */
 function __construct(Jarves $jarves, PageStack $pageStack, EditMode $editMode, FrontendRouter $frontendRouter, PageResponseFactory $pageResponseFactory, RequestContext $requestContext, LoggerInterface $logger)
 {
     $this->jarves = $jarves;
     $this->routes = new RouteCollection();
     $this->frontendRouter = $frontendRouter;
     $this->pageStack = $pageStack;
     $this->urlMatcher = new UrlMatcher($this->routes, $requestContext);
     parent::__construct($this->urlMatcher, $pageStack->getRequestStack());
     $this->editMode = $editMode;
     $this->pageResponseFactory = $pageResponseFactory;
     $this->requestContext = $requestContext;
     $this->logger = $logger;
 }