<?php

namespace Container0ndx4z1;

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 getProcessQueueCommandService extends PhpList_Core_Core_ApplicationKernelDevDebugContainer
{
    /**
     * Gets the private 'PhpList\Core\Domain\Messaging\Command\ProcessQueueCommand' shared autowired service.
     *
     * @return \PhpList\Core\Domain\Messaging\Command\ProcessQueueCommand
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 4).'/vendor/symfony/console/Command/Command.php';
        include_once \dirname(__DIR__, 4).'/vendor/phplist/core/src/Domain/Messaging/Command/ProcessQueueCommand.php';
        include_once \dirname(__DIR__, 4).'/vendor/symfony/lock/LockFactory.php';

        $a = new \Symfony\Component\Lock\LockFactory(($container->privates['.lock.default.store.2BORioJ'] ?? $container->load('get_Lock_Default_Store_2BORioJService')));

        $b = new \Monolog\Logger('lock');
        $b->pushHandler(($container->privates['monolog.handler.console'] ?? self::getMonolog_Handler_ConsoleService($container)));
        $b->pushHandler(($container->privates['monolog.handler.main'] ?? self::getMonolog_Handler_MainService($container)));
        ($container->privates['debug.debug_logger_configurator'] ?? self::getDebug_DebugLoggerConfiguratorService($container))->pushDebugLogger($b);

        $a->setLogger($b);

        $container->privates['PhpList\\Core\\Domain\\Messaging\\Command\\ProcessQueueCommand'] = $instance = new \PhpList\Core\Domain\Messaging\Command\ProcessQueueCommand(($container->services['PhpList\\Core\\Domain\\Messaging\\Repository\\MessageRepository'] ?? $container->load('getMessageRepositoryService')), $a, ($container->services['PhpList\\Core\\Domain\\Messaging\\Service\\MessageProcessingPreparator'] ?? $container->load('getMessageProcessingPreparatorService')), ($container->services['messenger.default_bus'] ?? self::getMessenger_DefaultBusService($container)), ($container->privates['PhpList\\Core\\Domain\\Configuration\\Service\\Provider\\ConfigProvider'] ?? $container->load('getConfigProviderService')), ($container->services['translator'] ?? self::getTranslatorService($container)), ($container->services['doctrine.orm.default_entity_manager'] ?? self::getDoctrine_Orm_DefaultEntityManagerService($container)));

        $instance->setName('phplist:process-queue');
        $instance->setDescription('Processes the email campaign queue.');

        return $instance;
    }
}
