<?php

namespace Container35X5zJE;

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 getMassiveSearch_SearchManagerService extends App_KernelDevDebugContainer
{
    /**
     * Gets the public 'massive_search.search_manager' shared service.
     *
     * @return \Massive\Bundle\SearchBundle\Search\SearchManager
     */
    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.'SearchManagerInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'massive'.\DIRECTORY_SEPARATOR.'search-bundle'.\DIRECTORY_SEPARATOR.'Search'.\DIRECTORY_SEPARATOR.'SearchManager.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'massive'.\DIRECTORY_SEPARATOR.'search-bundle'.\DIRECTORY_SEPARATOR.'Search'.\DIRECTORY_SEPARATOR.'ObjectToDocumentConverter.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'massive'.\DIRECTORY_SEPARATOR.'search-bundle'.\DIRECTORY_SEPARATOR.'Search'.\DIRECTORY_SEPARATOR.'Converter'.\DIRECTORY_SEPARATOR.'ConverterManagerInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'massive'.\DIRECTORY_SEPARATOR.'search-bundle'.\DIRECTORY_SEPARATOR.'Search'.\DIRECTORY_SEPARATOR.'Converter'.\DIRECTORY_SEPARATOR.'ConverterManager.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'massive'.\DIRECTORY_SEPARATOR.'search-bundle'.\DIRECTORY_SEPARATOR.'Search'.\DIRECTORY_SEPARATOR.'Converter'.\DIRECTORY_SEPARATOR.'ConverterInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'massive'.\DIRECTORY_SEPARATOR.'search-bundle'.\DIRECTORY_SEPARATOR.'Search'.\DIRECTORY_SEPARATOR.'Converter'.\DIRECTORY_SEPARATOR.'Types'.\DIRECTORY_SEPARATOR.'DateConverter.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'massive'.\DIRECTORY_SEPARATOR.'search-bundle'.\DIRECTORY_SEPARATOR.'Search'.\DIRECTORY_SEPARATOR.'Converter'.\DIRECTORY_SEPARATOR.'Types'.\DIRECTORY_SEPARATOR.'JsonConverter.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.'TagBundle'.\DIRECTORY_SEPARATOR.'Search'.\DIRECTORY_SEPARATOR.'TagsConverter.php';

        $a = ($container->privates['massive_search.metadata.field_evaluator'] ?? $container->load('getMassiveSearch_Metadata_FieldEvaluatorService'));
        $b = new \Massive\Bundle\SearchBundle\Search\Converter\ConverterManager();
        $b->addConverter('date', new \Massive\Bundle\SearchBundle\Search\Converter\Types\DateConverter());
        $b->addConverter('json', new \Massive\Bundle\SearchBundle\Search\Converter\Types\JsonConverter());
        $b->addConverter('tags', new \Sulu\Bundle\TagBundle\Search\TagsConverter(($container->services['sulu_tag.tag_manager'] ?? $container->getSuluTag_TagManagerService())));

        return $container->services['massive_search.search_manager'] = new \Massive\Bundle\SearchBundle\Search\SearchManager(($container->services['massive_search.adapter.zend_lucene'] ?? $container->load('getMassiveSearch_Adapter_ZendLuceneService')), ($container->privates['massive_search.metadata.provider.chain'] ?? $container->load('getMassiveSearch_Metadata_Provider_ChainService')), new \Massive\Bundle\SearchBundle\Search\ObjectToDocumentConverter(($container->privates['sulu_search.search.factory'] ?? ($container->privates['sulu_search.search.factory'] = new \Sulu\Bundle\SearchBundle\Search\Factory())), $a, $b), ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService()), ($container->privates['massive_search.prefix_decorator'] ?? $container->load('getMassiveSearch_PrefixDecoratorService')), $a);
    }
}
