privates['router.cache_warmer'] = new \Symfony\Bundle\FrameworkBundle\CacheWarmer\RouterCacheWarmer((new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService, [ 'router' => ['services', 'router', 'getRouterService', false], ], [ 'router' => '?', ]))->withContext('router.cache_warmer', $container)); } }