<?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\Platform\Bundle\InstallerBundle\Command\DatabaseCommand' 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/Platform/Bundle/InstallerBundle/Command/DatabaseCommand.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/InstallerBundle/FixtureLoader/FixtureJobLoader.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/InstallerBundle/FixtureLoader/JobInstancesBuilder.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Batch/Step/StepExecutionAwareInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Connector/Processor/Denormalization/AbstractProcessor.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Batch/Item/ItemProcessorInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Connector/Processor/Denormalization/JobInstanceProcessor.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/StorageUtils/Updater/ObjectUpdaterInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Batch/Updater/JobInstanceUpdater.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/InstallerBundle/FixtureLoader/JobInstancesConfigurator.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/InstallerBundle/FixtureLoader/FixturePathProvider.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/StorageUtils/Factory/SimpleFactoryInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/StorageUtils/Factory/SimpleFactory.php';

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

$this->privates['Akeneo\\Platform\\Bundle\\InstallerBundle\\Command\\DatabaseCommand'] = $instance = new \Akeneo\Platform\Bundle\InstallerBundle\Command\DatabaseCommand(($this->services['doctrine.orm.default_entity_manager'] ?? $this->getDoctrine_Orm_DefaultEntityManagerService()), ($this->privates['akeneo_elasticsearch.registry.clients'] ?? $this->load('getAkeneoElasticsearch_Registry_ClientsService.php')), ($this->services['doctrine.dbal.default_connection'] ?? $this->getDoctrine_Dbal_DefaultConnectionService()), new \Akeneo\Platform\Bundle\InstallerBundle\FixtureLoader\FixtureJobLoader(new \Akeneo\Platform\Bundle\InstallerBundle\FixtureLoader\JobInstancesBuilder(($this->privates['file_locator'] ?? $this->load('getFileLocatorService.php')), ($this->privates['pim_connector.reader.file.yaml_job_instance'] ?? $this->load('getPimConnector_Reader_File_YamlJobInstanceService.php')), new \Akeneo\Tool\Component\Connector\Processor\Denormalization\JobInstanceProcessor($a, ($this->privates['pim_connector.factory.job_instance'] ?? ($this->privates['pim_connector.factory.job_instance'] = new \Akeneo\Tool\Component\StorageUtils\Factory\SimpleFactory('Akeneo\\Tool\\Component\\Batch\\Model\\JobInstance'))), new \Akeneo\Tool\Component\Batch\Updater\JobInstanceUpdater($b, $c), ($this->services['validator'] ?? $this->load('getValidatorService.php')), ($this->privates['akeneo_storage_utils.doctrine.object_detacher'] ?? $this->load('getAkeneoStorageUtils_Doctrine_ObjectDetacherService.php')), ($this->privates['akeneo_batch.job.job_parameters_validator'] ?? $this->load('getAkeneoBatch_Job_JobParametersValidatorService.php')), $b, $c), [0 => 'PimInstallerBundle/Resources/config/fixtures_jobs.yml']), new \Akeneo\Platform\Bundle\InstallerBundle\FixtureLoader\JobInstancesConfigurator(new \Akeneo\Platform\Bundle\InstallerBundle\FixtureLoader\FixturePathProvider($this->parameters['kernel.bundles'])), ($this->privates['akeneo_batch.saver.job_instance'] ?? $this->load('getAkeneoBatch_Saver_JobInstanceService.php')), ($this->privates['akeneo_batch.remover.job_instance'] ?? $this->load('getAkeneoBatch_Remover_JobInstanceService.php')), $a), ($this->services['event_dispatcher'] ?? $this->getEventDispatcherService()), 'prod');

$instance->setName('pim:installer:db');

return $instance;
