33 lines
1.5 KiB
PHP
33 lines
1.5 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_CachePoolPruneService extends App_KernelProdContainer
|
|
{
|
|
/*
|
|
* Gets the private 'console.command.cache_pool_prune' shared service.
|
|
*
|
|
* @return \Symfony\Bundle\FrameworkBundle\Command\CachePoolPruneCommand
|
|
*/
|
|
public static function do($container, $lazyLoad = true)
|
|
{
|
|
$container->privates['console.command.cache_pool_prune'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\CachePoolPruneCommand(new RewindableGenerator(function () use ($container) {
|
|
yield 'cache.app' => ($container->services['cache.app'] ?? $container->load('getCache_AppService'));
|
|
yield 'cache.messenger.restart_workers_signal' => ($container->privates['cache.messenger.restart_workers_signal'] ?? $container->load('getCache_Messenger_RestartWorkersSignalService'));
|
|
yield 'doctrine.result_cache_pool' => ($container->privates['doctrine.result_cache_pool'] ?? self::getDoctrine_ResultCachePoolService($container));
|
|
}, 3));
|
|
|
|
$instance->setName('cache:pool:prune');
|
|
$instance->setDescription('Prune cache pools');
|
|
|
|
return $instance;
|
|
}
|
|
}
|