var/cache/dev/ContainerVJPm9f3/getElasticSearchServiceService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerVJPm9f3;
  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 getElasticSearchServiceService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'App\Service\ElasticSearchService' shared autowired service.
  12.      *
  13.      * @return \App\Service\ElasticSearchService
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/src/Service/ElasticSearchService.php';
  18.         include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/elastica-bundle/src/Transformer/ElasticaToModelTransformerInterface.php';
  19.         include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/elastica-bundle/src/Transformer/ElasticaToModelTransformerCollection.php';
  20.         return $container->privates['App\\Service\\ElasticSearchService'] = new \App\Service\ElasticSearchService(($container->services['fos_elastica.client.default'] ?? $container->load('getFosElastica_Client_DefaultService')), ($container->services['fos_elastica.config_manager'] ?? $container->load('getFosElastica_ConfigManagerService')), new \FOS\ElasticaBundle\Transformer\ElasticaToModelTransformerCollection(['person' => ($container->privates['fos_elastica.elastica_to_model_transformer.app_person.person'] ?? $container->load('getFosElastica_ElasticaToModelTransformer_AppPerson_PersonService')), 'organization' => ($container->privates['fos_elastica.elastica_to_model_transformer.app_organization.organization'] ?? $container->load('getFosElastica_ElasticaToModelTransformer_AppOrganization_OrganizationService'))]));
  21.     }
  22. }