var/cache/review/ContainerYMOIFrJ/getFosElastica_ResetterService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerYMOIFrJ;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class getFosElastica_ResetterService extends App_KernelReviewDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'fos_elastica.resetter' shared service.
  12.      *
  13.      * @return \FOS\ElasticaBundle\Index\Resetter
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/elastica-bundle/src/Index/ResetterInterface.php';
  18.         include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/elastica-bundle/src/Index/Resetter.php';
  19.         include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/elastica-bundle/src/Index/AliasProcessor.php';
  20.         include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/elastica-bundle/src/Index/MappingBuilder.php';
  21.         $a = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
  22.         if (isset($container->services['fos_elastica.resetter'])) {
  23.             return $container->services['fos_elastica.resetter'];
  24.         }
  25.         return $container->services['fos_elastica.resetter'] = new \FOS\ElasticaBundle\Index\Resetter(($container->services['fos_elastica.config_manager'] ?? $container->load('getFosElastica_ConfigManagerService')), ($container->services['fos_elastica.index_manager'] ?? $container->load('getFosElastica_IndexManagerService')), ($container->privates['fos_elastica.alias_processor'] ?? ($container->privates['fos_elastica.alias_processor'] = new \FOS\ElasticaBundle\Index\AliasProcessor())), ($container->privates['fos_elastica.mapping_builder'] ?? ($container->privates['fos_elastica.mapping_builder'] = new \FOS\ElasticaBundle\Index\MappingBuilder())), $a);
  26.     }
  27. }