<?php

namespace ContainerOQlxh73;

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 getUpdateIndexVersionCommandService extends KernelProdContainer
{
    /*
     * Gets the private 'Akeneo\Tool\Bundle\ElasticsearchBundle\Command\UpdateIndexVersionCommand' shared service.
     *
     * @return \Akeneo\Tool\Bundle\ElasticsearchBundle\Command\UpdateIndexVersionCommand
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 4).'/vendor/symfony/console/Command/Command.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/ElasticsearchBundle/Command/UpdateIndexVersionCommand.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/ElasticsearchBundle/Infrastructure/Client/IndexUpdaterClient.php';
        include_once \dirname(__DIR__, 4).'/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ClientBuilder.php';

        $container->privates['Akeneo\\Tool\\Bundle\\ElasticsearchBundle\\Command\\UpdateIndexVersionCommand'] = $instance = new \Akeneo\Tool\Bundle\ElasticsearchBundle\Command\UpdateIndexVersionCommand(new \Akeneo\Tool\Bundle\ElasticsearchBundle\Infrastructure\Client\IndexUpdaterClient(($container->privates['monolog.logger'] ?? $container->load('getMonolog_LoggerService')), ($container->services['akeneo_elasticsearch.client_builder'] ?? ($container->services['akeneo_elasticsearch.client_builder'] = new \Elasticsearch\ClientBuilder())), [0 => $container->getEnv('APP_INDEX_HOSTS')]));

        $instance->setName('akeneo:elasticsearch:update-index-version');

        return $instance;
    }
}
