<?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\CatalogVolumeMonitoringBundle\Command\AggregateVolumesCommand' 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/CatalogVolumeMonitoringBundle/Command/AggregateVolumesCommand.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Component/CatalogVolumeMonitoring/Volume/Service/VolumeAggregation.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Component/CatalogVolumeMonitoring/Volume/Repository/AggregatedVolumeRepositoryInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/CatalogVolumeMonitoringBundle/Persistence/Repository/Sql/AggregatedVolumeRepository.php';

$this->privates['Akeneo\\Platform\\Bundle\\CatalogVolumeMonitoringBundle\\Command\\AggregateVolumesCommand'] = $instance = new \Akeneo\Platform\Bundle\CatalogVolumeMonitoringBundle\Command\AggregateVolumesCommand(new \Akeneo\Platform\Component\CatalogVolumeMonitoring\Volume\Service\VolumeAggregation(new \Akeneo\Platform\Bundle\CatalogVolumeMonitoringBundle\Persistence\Repository\Sql\AggregatedVolumeRepository(($this->services['doctrine.dbal.default_connection'] ?? $this->getDoctrine_Dbal_DefaultConnectionService())), new RewindableGenerator(function () {
    yield 0 => ($this->privates['pim_volume_monitoring.persistence.query.count_products'] ?? $this->load('getPimVolumeMonitoring_Persistence_Query_CountProductsService.php'));
    yield 1 => ($this->privates['pim_volume_monitoring.persistence.query.count_product_models'] ?? $this->load('getPimVolumeMonitoring_Persistence_Query_CountProductModelsService.php'));
    yield 2 => ($this->privates['pim_volume_monitoring.persistence.query.count_product_values'] ?? $this->load('getPimVolumeMonitoring_Persistence_Query_CountProductValuesService.php'));
    yield 3 => ($this->privates['pim_volume_monitoring.persistence.query.count_product_model_values'] ?? $this->load('getPimVolumeMonitoring_Persistence_Query_CountProductModelValuesService.php'));
}, 4), new RewindableGenerator(function () {
    yield 0 => ($this->privates['pim_volume_monitoring.persistence.query.average_max_options_per_attribute'] ?? $this->load('getPimVolumeMonitoring_Persistence_Query_AverageMaxOptionsPerAttributeService.php'));
    yield 1 => ($this->privates['pim_volume_monitoring.persistence.query.average_max_product_values'] ?? $this->load('getPimVolumeMonitoring_Persistence_Query_AverageMaxProductValuesService.php'));
    yield 2 => ($this->privates['pim_volume_monitoring.persistence.query.average_max_product_model_values'] ?? $this->load('getPimVolumeMonitoring_Persistence_Query_AverageMaxProductModelValuesService.php'));
}, 3)));

$instance->setName('pim:volume:aggregate');

return $instance;
