TranslationExtractorPass

class TranslationExtractorPass implements CompilerPassInterface

Adds tagged translation.extractor services to translation extractor.

Methods

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

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

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