31 lines
1.2 KiB
PHP
31 lines
1.2 KiB
PHP
<?php
|
|
|
|
namespace ContainerEvwr5zZ;
|
|
|
|
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
|
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
|
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
|
|
|
|
/*
|
|
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
|
|
*/
|
|
class getConsole_Command_CacheClearService extends App_KernelProdContainer
|
|
{
|
|
/*
|
|
* Gets the private 'console.command.cache_clear' shared service.
|
|
*
|
|
* @return \Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand
|
|
*/
|
|
public static function do($container, $lazyLoad = true)
|
|
{
|
|
$container->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'] ??= new \Symfony\Component\Filesystem\Filesystem()));
|
|
|
|
$instance->setName('cache:clear');
|
|
$instance->setDescription('Clear the cache');
|
|
|
|
return $instance;
|
|
}
|
|
}
|