<?php
namespace ContainerKxN8iRk;
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_AppPerson_PersonService extends App_KernelDevDebugContainer
{
/**
* Gets the public 'fos_elastica.object_persister.app_person.person' 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';
$a = ($container->privates['quiet_elastica_transformer'] ?? $container->load('getQuietElasticaTransformerService'));
if (isset($container->services['fos_elastica.object_persister.app_person.person'])) {
return $container->services['fos_elastica.object_persister.app_person.person'];
}
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']]]], []);
}
}