var/cache/dev/ContainerMJB5DpJ/getFosElastica_ObjectPersister_App_DossiersService.php line 33

Open in your IDE?
  1. <?php
  2. namespace ContainerMJB5DpJ;
  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_App_DossiersService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'fos_elastica.object_persister.app.dossiers' 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.         include_once \dirname(__DIR__, 4).'/vendor/friendsofsymfony/elastica-bundle/src/Transformer/ModelToElasticaTransformerInterface.php';
  20.         include_once \dirname(__DIR__, 4).'/vendor/friendsofsymfony/elastica-bundle/src/Transformer/ModelToElasticaAutoTransformer.php';
  21.         include_once \dirname(__DIR__, 4).'/vendor/symfony/property-access/PropertyAccessorInterface.php';
  22.         include_once \dirname(__DIR__, 4).'/vendor/symfony/property-access/PropertyAccessor.php';
  23.         $a = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
  24.         if (isset($container->services['fos_elastica.object_persister.app.dossiers'])) {
  25.             return $container->services['fos_elastica.object_persister.app.dossiers'];
  26.         }
  27.         $b = new \FOS\ElasticaBundle\Transformer\ModelToElasticaAutoTransformer(['identifier' => 'id', 'index' => 'app'], $a);
  28.         $b->setPropertyAccessor(($container->privates['fos_elastica.property_accessor'] ?? ($container->privates['fos_elastica.property_accessor'] = new \Symfony\Component\PropertyAccess\PropertyAccessor(false, false))));
  29.         return $container->services['fos_elastica.object_persister.app.dossiers'] = new \FOS\ElasticaBundle\Persister\ObjectPersister(($container->services['fos_elastica.index.app.dossiers'] ?? $container->load('getFosElastica_Index_App_DossiersService')), $b, 'App\\Entity\\Dossier', ['id' => ['type' => 'integer'], 'titre' => ['boost' => 10, 'analyzer' => 'my_analyzer'], 'description' => [], 'localisation' => [], 'coteDossier' => [], 'nbPiece' => ['type' => 'integer'], 'statut' => [], 'isActive' => ['type' => 'boolean'], 'date' => ['type' => 'date', 'format' => 'yyyy-MM-dd\'T\'HH:mm:ssZ||yyyy-MM-dd\'T\'HH:mm:ss.SSSZ'], 'dateCreation' => ['type' => 'date'], 'dateCloture' => ['type' => 'date'], 'refInterne' => [], 'reference' => [], 'fichiers' => ['type' => 'nested', 'properties' => ['id' => NULL, 'nom' => ['type' => 'text', 'analyzer' => 'ngram_analyzer']]], 'langue' => [], 'boite' => ['type' => 'object', 'properties' => ['code' => NULL, 'etagere' => ['type' => 'object', 'properties' => ['code' => NULL, 'face' => NULL, 'rayon' => ['type' => 'object', 'properties' => ['code' => NULL, 'salle' => ['type' => 'object', 'properties' => ['code' => NULL]]]]]]]], 'bordereau' => ['type' => 'object', 'properties' => ['numero' => NULL]], 'type' => ['type' => 'object', 'properties' => ['id' => NULL, 'nomFr' => NULL, 'nomEn' => NULL]], 'typeConfidentialite' => ['type' => 'object', 'properties' => ['niveau' => NULL]], 'is_active' => []], []);
  30.     }
  31. }