privates['console.command.router_match'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\RouterMatchCommand(($container->services['router'] ?? self::getRouterService($container)), new RewindableGenerator(fn () => new \EmptyIterator(), 0)); $instance->setName('router:match'); $instance->setDescription('Help debug routes by simulating a path info match'); return $instance; } }