var/cache/dev/ContainerKxN8iRk/getFosElastica_ObjectPersister_AppPerson_PersonService.php line 23

Open in your IDE?
  1. <?php
  2. namespace ContainerKxN8iRk;
  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_ObjectPersister_AppPerson_PersonService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'fos_elastica.object_persister.app_person.person' shared service.
  12.      *
  13.      * @return \FOS\ElasticaBundle\Persister\ObjectPersister
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/elastica-bundle/src/Persister/ObjectPersisterInterface.php';
  18.         include_once \dirname(__DIR__4).'/vendor/friendsofsymfony/elastica-bundle/src/Persister/ObjectPersister.php';
  19.         $a = ($container->privates['quiet_elastica_transformer'] ?? $container->load('getQuietElasticaTransformerService'));
  20.         if (isset($container->services['fos_elastica.object_persister.app_person.person'])) {
  21.             return $container->services['fos_elastica.object_persister.app_person.person'];
  22.         }
  23.         return $container->services['fos_elastica.object_persister.app_person.person'] = new \FOS\ElasticaBundle\Persister\ObjectPersister(($container->services['fos_elastica.index.app_person.person'] ?? $container->load('getFosElastica_Index_AppPerson_PersonService')), $a'Evo\\Infrastructure\\MappingORM\\Person', ['legalName' => [], 'givenName' => [], 'familyName' => [], 'legalRepresentatives' => ['type' => 'nested''properties' => ['legalName' => ['property_path' => 'person.legalName'], 'givenName' => ['property_path' => 'person.givenName'], 'familyName' => ['property_path' => 'person.familyName']]]], []);
  24.     }
  25. }