<?php

namespace ContainerH4AHLTQ;

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 getAkeneo_Pim_Automation_DataQualityInsights_ComputeProductModelsKeyIndicatorsService extends KernelProdContainer
{
    /*
     * Gets the private 'akeneo.pim.automation.data_quality_insights.compute_product_models_key_indicators' shared service.
     *
     * @return \Akeneo\Pim\Automation\DataQualityInsights\Application\KeyIndicator\ComputeProductsKeyIndicators
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Automation/DataQualityInsights/back/Application/KeyIndicator/ComputeProductsKeyIndicators.php';

        $a = ($container->privates['Akeneo\\Pim\\Automation\\DataQualityInsights\\Infrastructure\\Persistence\\Query\\Structure\\CachedGetLocalesByChannelQuery'] ?? $container->load('getCachedGetLocalesByChannelQueryService'));

        if (isset($container->privates['akeneo.pim.automation.data_quality_insights.compute_product_models_key_indicators'])) {
            return $container->privates['akeneo.pim.automation.data_quality_insights.compute_product_models_key_indicators'];
        }

        return $container->privates['akeneo.pim.automation.data_quality_insights.compute_product_models_key_indicators'] = new \Akeneo\Pim\Automation\DataQualityInsights\Application\KeyIndicator\ComputeProductsKeyIndicators($a, new RewindableGenerator(function () use ($container) {
            yield 0 => ($container->privates['akeneo.pim.automation.data_quality_insights.query.compute_product_models_enrichment_status_query'] ?? $container->load('getAkeneo_Pim_Automation_DataQualityInsights_Query_ComputeProductModelsEnrichmentStatusQueryService'));
            yield 1 => ($container->privates['akeneo.pim.automation.data_quality_insights.query.compute_product_models_with_image_query'] ?? $container->load('getAkeneo_Pim_Automation_DataQualityInsights_Query_ComputeProductModelsWithImageQueryService'));
        }, 2));
    }
}
