<?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_elasticsearch.client.product_and_product_model' shared service.

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 $this->privates['akeneo_elasticsearch.client.product_and_product_model'] = new \Akeneo\Tool\Bundle\ElasticsearchBundle\Client(($this->services['akeneo_elasticsearch.client_builder'] ?? ($this->services['akeneo_elasticsearch.client_builder'] = new \Elasticsearch\ClientBuilder())), new \Akeneo\Tool\Bundle\ElasticsearchBundle\IndexConfiguration\Loader($this->parameters['elasticsearch_index_configuration_files'], ($this->privates['parameter_bag'] ?? ($this->privates['parameter_bag'] = new \Symfony\Component\DependencyInjection\ParameterBag\ContainerBag($this)))), [0 => $this->getEnv('APP_INDEX_HOSTS')], $this->getEnv('APP_PRODUCT_AND_PRODUCT_MODEL_INDEX_NAME'), '');
