30 lines
1.2 KiB
PHP
30 lines
1.2 KiB
PHP
<?php
|
|
|
|
namespace Container8QzW1yw;
|
|
|
|
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 getTranslation_WarmerService extends App_KernelDevDebugContainer
|
|
{
|
|
/**
|
|
* Gets the private 'translation.warmer' shared service.
|
|
*
|
|
* @return \Symfony\Bundle\FrameworkBundle\CacheWarmer\TranslationsCacheWarmer
|
|
*/
|
|
public static function do($container, $lazyLoad = true)
|
|
{
|
|
include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/CacheWarmer/CacheWarmerInterface.php';
|
|
include_once \dirname(__DIR__, 4).'/vendor/symfony/framework-bundle/CacheWarmer/TranslationsCacheWarmer.php';
|
|
|
|
return $container->privates['translation.warmer'] = new \Symfony\Bundle\FrameworkBundle\CacheWarmer\TranslationsCacheWarmer((new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService, [
|
|
'translator' => ['services', 'translator', 'getTranslatorService', false],
|
|
], [
|
|
'translator' => '?',
|
|
]))->withContext('translation.warmer', $container));
|
|
}
|
|
}
|