<?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 getAkeneoElasticsearch_Client_ProductAndProductModelService extends KernelProdContainer
{
    /*
     * Gets the public 'akeneo_elasticsearch.client.product_and_product_model' shared service.
     *
     * @return \Akeneo\Tool\Bundle\ElasticsearchBundle\Client
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/ElasticsearchBundle/Client.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/ElasticsearchBundle/IndexConfiguration/Loader.php';
        include_once \dirname(__DIR__, 4).'/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ClientBuilder.php';

        return $container->services['akeneo_elasticsearch.client.product_and_product_model'] = new \Akeneo\Tool\Bundle\ElasticsearchBundle\Client(($container->services['akeneo_elasticsearch.client_builder'] ?? ($container->services['akeneo_elasticsearch.client_builder'] = new \Elasticsearch\ClientBuilder())), new \Akeneo\Tool\Bundle\ElasticsearchBundle\IndexConfiguration\Loader($container->parameters['elasticsearch_index_configuration_files'], ($container->privates['parameter_bag'] ?? ($container->privates['parameter_bag'] = new \Symfony\Component\DependencyInjection\ParameterBag\ContainerBag($container)))), [0 => $container->getEnv('APP_INDEX_HOSTS')], $container->getEnv('APP_PRODUCT_AND_PRODUCT_MODEL_INDEX_NAME'), '', $container->getEnv('int:APP_ELASTICSEARCH_MAX_CHUNK_SIZE_CHARACTERS'), 1000, 3);
    }
}
