/** * Gets the 'cmf_routing.router' service. * * This service is shared. * This method always returns the same instance of the service. * * @return \Symfony\Cmf\Component\Routing\ChainRouter A Symfony\Cmf\Component\Routing\ChainRouter instance. */ protected function getCmfRouting_RouterService() { $a = $this->get('router.request_context'); $this->services['cmf_routing.router'] = $instance = new \Symfony\Cmf\Component\Routing\ChainRouter($this->get('logger', ContainerInterface::NULL_ON_INVALID_REFERENCE)); $instance->setContext($a); $instance->add($this->get('cmf_routing.dynamic_router'), '20'); $instance->add(new \Symfony\Bundle\FrameworkBundle\Routing\Router($this, __DIR__ . '/assetic/routing.yml', array('cache_dir' => __DIR__, 'debug' => true, 'generator_class' => 'Symfony\\Component\\Routing\\Generator\\UrlGenerator', 'generator_base_class' => 'Symfony\\Component\\Routing\\Generator\\UrlGenerator', 'generator_dumper_class' => 'Symfony\\Component\\Routing\\Generator\\Dumper\\PhpGeneratorDumper', 'generator_cache_class' => 'appDevUrlGenerator', 'matcher_class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\RedirectableUrlMatcher', 'matcher_base_class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\RedirectableUrlMatcher', 'matcher_dumper_class' => 'Symfony\\Component\\Routing\\Matcher\\Dumper\\PhpMatcherDumper', 'matcher_cache_class' => 'appDevUrlMatcher', 'strict_requirements' => true, 'resource_type' => 'yaml'), $a, $this->get('monolog.logger.router', ContainerInterface::NULL_ON_INVALID_REFERENCE)), '100'); return $instance; }
/** * Gets the 'ezpublish.chain_router' service. * * This service is shared. * This method always returns the same instance of the service. * * @return Symfony\Cmf\Component\Routing\ChainRouter A Symfony\Cmf\Component\Routing\ChainRouter instance. */ protected function getEzpublish_ChainRouterService() { $this->services['ezpublish.chain_router'] = $instance = new \Symfony\Cmf\Component\Routing\ChainRouter($this->get('logger', ContainerInterface::NULL_ON_INVALID_REFERENCE)); $instance->setContext($this->get('router.request_context')); $instance->add($this->get('router.default'), 255); $instance->add($this->get('ezpublish.urlalias_router'), 200); $instance->add($this->get('ezpublish_legacy.router'), -255); return $instance; }
/** * Gets the 'router.no_access_checks' service. * * This service is shared. * This method always returns the same instance of the service. * * @return \Symfony\Cmf\Component\Routing\ChainRouter A Symfony\Cmf\Component\Routing\ChainRouter instance. */ protected function getRouter_NoAccessChecksService() { $this->services['router.no_access_checks'] = $instance = new \Symfony\Cmf\Component\Routing\ChainRouter(); $instance->setContext($this->get('router.request_context')); $instance->add($this->get('router.dynamic')); $instance->_serviceId = 'router.no_access_checks'; return $instance; }
/** * Gets the 'cmf_routing.router' service. * * This service is shared. * This method always returns the same instance of the service. * * @return \Symfony\Cmf\Component\Routing\ChainRouter A Symfony\Cmf\Component\Routing\ChainRouter instance. */ protected function getCmfRouting_RouterService() { $this->services['cmf_routing.router'] = $instance = new \Symfony\Cmf\Component\Routing\ChainRouter($this->get('logger', ContainerInterface::NULL_ON_INVALID_REFERENCE)); $instance->setContext($this->get('router.request_context')); $instance->add($this->get('sonata.page.router'), '150'); $instance->add($this->get('router.default'), '100'); return $instance; }
/** * Gets the 'router' service. * * This service is shared. * This method always returns the same instance of the service. * * @return Symfony\Cmf\Component\Routing\ChainRouter A Symfony\Cmf\Component\Routing\ChainRouter instance. */ protected function getRouterService() { $this->services['router'] = $instance = new \Symfony\Cmf\Component\Routing\ChainRouter(); $instance->setContext($this->get('router.request_context')); $instance->add($this->get('router.dynamic')); return $instance; }