<?php
namespace ContainerYDKTVUl;
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 getTranslatableListenerService extends App_KernelDevDebugContainer
{
/**
* Gets the private 'Gedmo\Translatable\TranslatableListener' shared autowired service.
*
* @return \Gedmo\Translatable\TranslatableListener
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).'/vendor/gedmo/doctrine-extensions/src/Translatable/TranslatableListener.php';
$container->privates['Gedmo\\Translatable\\TranslatableListener'] = $instance = new \Gedmo\Translatable\TranslatableListener();
$instance->setAnnotationReader(($container->privates['annotations.cached_reader'] ?? $container->getAnnotations_CachedReaderService()));
$instance->setDefaultLocale(((($container->services['.container.private.session'] ?? $container->load('get_Container_Private_SessionService'))->get("_locale")) ? (($container->services['.container.private.session'] ?? $container->load('get_Container_Private_SessionService'))->get("_locale")) : (($container->privates['app.default_locale'] ?? $container->load('getApp_DefaultLocaleService'))->getLocale())));
$instance->setTranslatableLocale(((($container->services['.container.private.session'] ?? $container->load('get_Container_Private_SessionService'))->get("_locale")) ? (($container->services['.container.private.session'] ?? $container->load('get_Container_Private_SessionService'))->get("_locale")) : (($container->privates['app.default_locale'] ?? $container->load('getApp_DefaultLocaleService'))->getLocale())));
$instance->setTranslationFallback(true);
$instance->setPersistDefaultLocaleTranslation(true);
return $instance;
}
}