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