TranslationExtractorPass
class TranslationExtractorPass implements CompilerPassInterface
Adds tagged translation.extractor services to translation extractor.
Methods
__construct(string $extractorServiceId = 'translation.extractor', string $extractorTag = 'translation.extractor') | ||
process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. |
Details
__construct(string $extractorServiceId = 'translation.extractor', string $extractorTag = 'translation.extractor')
Parameters
string | $extractorServiceId | |
string | $extractorTag |
process(ContainerBuilder $container)
You can modify the container here before it is dumped to PHP code.
Parameters
ContainerBuilder | $container |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Translation/DependencyInjection/TranslationExtractorPass.html