privates['console.command.cache_clear'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand(new \Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer(new RewindableGenerator(function () use ($container) { yield 0 => ($container->services['cache.system_clearer'] ?? $container->load('getCache_SystemClearerService')); }, 1)), ($container->privates['filesystem'] ?? ($container->privates['filesystem'] = new \Symfony\Component\Filesystem\Filesystem()))); $instance->setName('cache:clear'); $instance->setDescription('Clear the cache'); return $instance; } }