TranslationExtractorPass
class TranslationExtractorPass implements CompilerPassInterface
Добавляет помеченные сервисы translation.extractor в экстрактор переводов.
Методы
| __construct(string $extractorServiceId = 'translation.extractor', string $extractorTag = 'translation.extractor') | ||
| process(ContainerBuilder $container) Здесь можно изменить контейнер перед выгрузкой в код PHP. |
Подробности
__construct(string $extractorServiceId = 'translation.extractor', string $extractorTag = 'translation.extractor')
Параметры
| string | $extractorServiceId | |
| string | $extractorTag |
process(ContainerBuilder $container)
Здесь можно изменить контейнер перед выгрузкой в код PHP.
Параметры
| ContainerBuilder | $container |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Translation/DependencyInjection/TranslationExtractorPass.html