34 lines
1.5 KiB
PHP
34 lines
1.5 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_ExtractorService extends App_KernelDevDebugContainer
|
||
|
{
|
||
|
/**
|
||
|
* Gets the private 'translation.extractor' shared service.
|
||
|
*
|
||
|
* @return \Symfony\Component\Translation\Extractor\ChainExtractor
|
||
|
*/
|
||
|
public static function do($container, $lazyLoad = true)
|
||
|
{
|
||
|
include_once \dirname(__DIR__, 4).'/vendor/symfony/translation/Extractor/ExtractorInterface.php';
|
||
|
include_once \dirname(__DIR__, 4).'/vendor/symfony/translation/Extractor/ChainExtractor.php';
|
||
|
include_once \dirname(__DIR__, 4).'/vendor/symfony/translation/Extractor/AbstractFileExtractor.php';
|
||
|
include_once \dirname(__DIR__, 4).'/vendor/symfony/translation/Extractor/PhpExtractor.php';
|
||
|
include_once \dirname(__DIR__, 4).'/vendor/symfony/twig-bridge/Translation/TwigExtractor.php';
|
||
|
|
||
|
$container->privates['translation.extractor'] = $instance = new \Symfony\Component\Translation\Extractor\ChainExtractor();
|
||
|
|
||
|
$instance->addExtractor('php', new \Symfony\Component\Translation\Extractor\PhpExtractor());
|
||
|
$instance->addExtractor('twig', new \Symfony\Bridge\Twig\Translation\TwigExtractor(($container->privates['twig'] ?? $container->getTwigService())));
|
||
|
|
||
|
return $instance;
|
||
|
}
|
||
|
}
|