<?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 getQuietElasticaTransformerService extends App_KernelDevDebugContainer
{
/**
* Gets the private 'quiet_elastica_transformer' shared autowired service.
*
* @return \FOS\ElasticaBundle\Transformer\ModelToElasticaAutoTransformer
*/
public static function do($container, $lazyLoad = true)
{
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).'/src/Transformer/ElasticPropertyAccessor.php';
$a = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
if (isset($container->privates['quiet_elastica_transformer'])) {
return $container->privates['quiet_elastica_transformer'];
}
$container->privates['quiet_elastica_transformer'] = $instance = new \FOS\ElasticaBundle\Transformer\ModelToElasticaAutoTransformer([], $a);
$instance->setPropertyAccessor(new \App\Transformer\ElasticPropertyAccessor(3, 2, ($container->services['cache.app'] ?? $container->getCache_AppService())));
return $instance;
}
}