<?php
namespace ContainerMJB5DpJ;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getFosElastica_ObjectPersister_App_DossiersService extends App_KernelDevDebugContainer
{
/**
* Gets the public 'fos_elastica.object_persister.app.dossiers' shared service.
*
* @return \FOS\ElasticaBundle\Persister\ObjectPersister
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).'/vendor/friendsofsymfony/elastica-bundle/src/Persister/ObjectPersisterInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/friendsofsymfony/elastica-bundle/src/Persister/ObjectPersister.php';
include_once \dirname(__DIR__, 4).'/vendor/friendsofsymfony/elastica-bundle/src/Transformer/ModelToElasticaTransformerInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/friendsofsymfony/elastica-bundle/src/Transformer/ModelToElasticaAutoTransformer.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/property-access/PropertyAccessorInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/property-access/PropertyAccessor.php';
$a = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
if (isset($container->services['fos_elastica.object_persister.app.dossiers'])) {
return $container->services['fos_elastica.object_persister.app.dossiers'];
}
$b = new \FOS\ElasticaBundle\Transformer\ModelToElasticaAutoTransformer(['identifier' => 'id', 'index' => 'app'], $a);
$b->setPropertyAccessor(($container->privates['fos_elastica.property_accessor'] ?? ($container->privates['fos_elastica.property_accessor'] = new \Symfony\Component\PropertyAccess\PropertyAccessor(false, false))));
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' => []], []);
}
}