<?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 getPimEnrich_Query_ProductAndProductModelSearchAggregatorService extends KernelProdContainer
{
    /*
     * Gets the private 'pim_enrich.query.product_and_product_model_search_aggregator' shared service.
     *
     * @return \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\ProductAndProductModelSearchAggregator
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Elasticsearch/ProductAndProductModelSearchAggregator.php';

        return $container->privates['pim_enrich.query.product_and_product_model_search_aggregator'] = new \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\ProductAndProductModelSearchAggregator(($container->privates['pim_catalog.repository.category'] ?? $container->getPimCatalog_Repository_CategoryService()));
    }
}
