var/cache/dev/ContainerYFsxnOz/getQuietElasticaTransformerService.php line 30

Open in your IDE?
  1. <?php
  2. namespace ContainerYFsxnOz;
  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 getQuietElasticaTransformerService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'quiet_elastica_transformer' shared autowired service.
  12.      *
  13.      * @return \FOS\ElasticaBundle\Transformer\ModelToElasticaAutoTransformer
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/elastica-bundle/src/Transformer/ModelToElasticaTransformerInterface.php';
  18.         include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/elastica-bundle/src/Transformer/ModelToElasticaAutoTransformer.php';
  19.         include_once \dirname(__DIR__4).'/src/Transformer/ElasticPropertyAccessor.php';
  20.         $a = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
  21.         if (isset($container->privates['quiet_elastica_transformer'])) {
  22.             return $container->privates['quiet_elastica_transformer'];
  23.         }
  24.         $container->privates['quiet_elastica_transformer'] = $instance = new \FOS\ElasticaBundle\Transformer\ModelToElasticaAutoTransformer([], $a);
  25.         $instance->setPropertyAccessor(new \App\Transformer\ElasticPropertyAccessor(32, ($container->services['cache.app'] ?? $container->getCache_AppService())));
  26.         return $instance;
  27.     }
  28. }