caisse-bliss/var/cache/dev/ContainerVvRT4pd/getConsole_Command_MessengerStopWorkersService.php
2023-06-20 19:14:19 +02:00

31 lines
1.2 KiB
PHP

<?php
namespace ContainerVvRT4pd;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_MessengerStopWorkersService extends App_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.messenger_stop_workers' shared service.
*
* @return \Symfony\Component\Messenger\Command\StopWorkersCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).'/vendor/symfony/console/Command/Command.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/messenger/Command/StopWorkersCommand.php';
$container->privates['console.command.messenger_stop_workers'] = $instance = new \Symfony\Component\Messenger\Command\StopWorkersCommand(($container->privates['cache.messenger.restart_workers_signal'] ?? $container->getCache_Messenger_RestartWorkersSignalService()));
$instance->setName('messenger:stop-workers');
$instance->setDescription('Stop workers after their current message');
return $instance;
}
}