<?php

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

// This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
// Returns the private 'Akeneo\Tool\Bundle\BatchQueueBundle\Command\PublishJobToQueueCommand' shared service.

include_once \dirname(__DIR__, 4).'/vendor/symfony/console/Command/Command.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/BatchQueueBundle/Command/PublishJobToQueueCommand.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/BatchQueue/Queue/PublishJobToQueue.php';

$a = ($this->privates['akeneo_batch.job_repository'] ?? $this->load('getAkeneoBatch_JobRepositoryService.php'));
$b = ($this->services['akeneo_batch.job.job_registry'] ?? $this->load('getAkeneoBatch_Job_JobRegistryService.php'));
$c = ($this->privates['akeneo_batch.job_parameters_factory'] ?? $this->load('getAkeneoBatch_JobParametersFactoryService.php'));

$this->privates['Akeneo\\Tool\\Bundle\\BatchQueueBundle\\Command\\PublishJobToQueueCommand'] = $instance = new \Akeneo\Tool\Bundle\BatchQueueBundle\Command\PublishJobToQueueCommand(new \Akeneo\Tool\Component\BatchQueue\Queue\PublishJobToQueue('Akeneo\\Tool\\Component\\Batch\\Model\\JobInstance', 'prod', $a, ($this->services['validator'] ?? $this->load('getValidatorService.php')), $b, $c, ($this->services['doctrine.orm.default_entity_manager'] ?? $this->getDoctrine_Orm_DefaultEntityManagerService()), ($this->privates['akeneo_batch.job.job_parameters_validator'] ?? $this->load('getAkeneoBatch_Job_JobParametersValidatorService.php')), ($this->privates['akeneo_batch_queue.queue.database_job_execution_queue'] ?? $this->load('getAkeneoBatchQueue_Queue_DatabaseJobExecutionQueueService.php')), ($this->services['event_dispatcher'] ?? $this->getEventDispatcherService())), $a, $b, $c, 'Akeneo\\Tool\\Component\\Batch\\Model\\JobInstance');

$instance->setName('akeneo:batch:publish-job-to-queue');

return $instance;
