<?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 public 'pim_catalog.elasticsearch.indexer.product_model_descendants_and_ancestors' shared service.

include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Elasticsearch/Indexer/ProductModelDescendantsAndAncestorsIndexer.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Storage/Sql/ProductModel/GetAncestorAndDescendantProductModelCodes.php';

return $this->services['pim_catalog.elasticsearch.indexer.product_model_descendants_and_ancestors'] = new \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\Indexer\ProductModelDescendantsAndAncestorsIndexer(($this->services['pim_catalog.elasticsearch.indexer.product'] ?? $this->load('getPimCatalog_Elasticsearch_Indexer_ProductService.php')), ($this->services['pim_catalog.elasticsearch.indexer.product_model'] ?? $this->load('getPimCatalog_Elasticsearch_Indexer_ProductModelService.php')), ($this->services['akeneo.pim.enrichment.product.query.get_descendant_variant_product_identifiers'] ?? $this->load('getAkeneo_Pim_Enrichment_Product_Query_GetDescendantVariantProductIdentifiersService.php')), new \Akeneo\Pim\Enrichment\Bundle\Storage\Sql\ProductModel\GetAncestorAndDescendantProductModelCodes(($this->services['doctrine.dbal.default_connection'] ?? $this->getDoctrine_Dbal_DefaultConnectionService())));
