var/cache/review/ContainerYMOIFrJ/getFosElastica_Finder_Recommendations_ProfileService.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_Finder_Recommendations_ProfileService extends App_KernelReviewDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'fos_elastica.finder.recommendations.profile' shared service.
  12.      *
  13.      * @return \FOS\ElasticaBundle\Finder\TransformedFinder
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/elastica-bundle/src/Finder/FinderInterface.php';
  18.         include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/elastica-bundle/src/Finder/PaginatedFinderInterface.php';
  19.         include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/elastica-bundle/src/Finder/TransformedFinder.php';
  20.         include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/elastica-bundle/src/Transformer/ElasticaToModelTransformerInterface.php';
  21.         include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/elastica-bundle/src/Transformer/AbstractElasticaToModelTransformer.php';
  22.         include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/elastica-bundle/src/Doctrine/AbstractElasticaToModelTransformer.php';
  23.         include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/elastica-bundle/src/Doctrine/ORM/ElasticaToModelTransformer.php';
  24.         $a = new \FOS\ElasticaBundle\Doctrine\ORM\ElasticaToModelTransformer(($container->services['doctrine'] ?? $container->getDoctrineService()), 'App\\Entity\\Profile\\Profile', ['ignore_missing' => true'hints' => [], 'hydrate' => true'query_builder_method' => 'createQueryBuilder''identifier' => 'id']);
  25.         $a->setPropertyAccessor(($container->privates['fos_elastica.property_accessor'] ?? ($container->privates['fos_elastica.property_accessor'] = new \Symfony\Component\PropertyAccess\PropertyAccessor(falsefalse))));
  26.         return $container->services['fos_elastica.finder.recommendations.profile'] = new \FOS\ElasticaBundle\Finder\TransformedFinder(($container->services['fos_elastica.index.recommendations.profile'] ?? $container->load('getFosElastica_Index_Recommendations_ProfileService')), $a);
  27.     }
  28. }