<?php

namespace ContainerS8JkUPu;

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

/**
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getMassiveSearch_Reindex_ProviderRegistryService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'massive_search.reindex.provider_registry' shared service.
     *
     * @return \Massive\Bundle\SearchBundle\Search\Reindex\ReindexProviderRegistry
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'massive'.\DIRECTORY_SEPARATOR.'search-bundle'.\DIRECTORY_SEPARATOR.'Search'.\DIRECTORY_SEPARATOR.'Reindex'.\DIRECTORY_SEPARATOR.'ReindexProviderRegistry.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'massive'.\DIRECTORY_SEPARATOR.'search-bundle'.\DIRECTORY_SEPARATOR.'Search'.\DIRECTORY_SEPARATOR.'Reindex'.\DIRECTORY_SEPARATOR.'ReindexProviderInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'massive'.\DIRECTORY_SEPARATOR.'search-bundle'.\DIRECTORY_SEPARATOR.'Search'.\DIRECTORY_SEPARATOR.'Reindex'.\DIRECTORY_SEPARATOR.'Provider'.\DIRECTORY_SEPARATOR.'DoctrineOrmProvider.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'massive'.\DIRECTORY_SEPARATOR.'search-bundle'.\DIRECTORY_SEPARATOR.'Search'.\DIRECTORY_SEPARATOR.'Reindex'.\DIRECTORY_SEPARATOR.'LocalizedReindexProviderInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'PageBundle'.\DIRECTORY_SEPARATOR.'Search'.\DIRECTORY_SEPARATOR.'Reindex'.\DIRECTORY_SEPARATOR.'StructureProvider.php';

        $container->privates['massive_search.reindex.provider_registry'] = $instance = new \Massive\Bundle\SearchBundle\Search\Reindex\ReindexProviderRegistry();

        $instance->addProvider('doctrine_orm', new \Massive\Bundle\SearchBundle\Search\Reindex\Provider\DoctrineOrmProvider(($container->services['doctrine.orm.default_entity_manager'] ?? self::getDoctrine_Orm_DefaultEntityManagerService($container)), ($container->privates['massive_search.metadata.factory'] ?? $container->load('getMassiveSearch_Metadata_FactoryService'))));
        $instance->addProvider('sulu_structure', new \Sulu\Bundle\PageBundle\Search\Reindex\StructureProvider(($container->services['sulu_document_manager.document_manager'] ?? self::getSuluDocumentManager_DocumentManagerService($container)), ($container->services['sulu_document_manager.metadata_factory.base'] ?? self::getSuluDocumentManager_MetadataFactory_BaseService($container)), ($container->services['sulu_page.structure.factory'] ?? self::getSuluPage_Structure_FactoryService($container)), ($container->services['sulu_document_manager.document_inspector'] ?? self::getSuluDocumentManager_DocumentInspectorService($container)), 'website'));

        return $instance;
    }
}
