Category: symfony-cmf

Replace Symfony 5 default router

Using the CMF code as a reference I am trying to replace the default router with the chain router…not just decorate… public function process(ContainerBuilder $container) { // NOT available using alias for some reason??? $definition = $container->getDefinition(‘MyBundleRoutingChainRouter’); foreach ($container->findTaggedServiceIds($this->routerTag) as…