TranslationExtractorPass deprecated

class TranslationExtractorPass extends TranslationExtractorPass

deprecated

since version 3.4, to be removed in 4.0. Use {@link BaseTranslationDumperPass instead}.

Adds tagged translation.formatter services to translation writer.

Methods

__construct($extractorServiceId = 'translation.extractor', $extractorTag = 'translation.extractor') from TranslationExtractorPass
process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

from TranslationExtractorPass

Details

__construct($extractorServiceId = 'translation.extractor', $extractorTag = 'translation.extractor')

Parameters

$extractorServiceId
$extractorTag

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Parameters

ContainerBuilder $container