TranslationDumperPass

class TranslationDumperPass implements CompilerPassInterface

Adds tagged translation.formatter services to translation writer.

Methods

__construct(string $writerServiceId = 'translation.writer', string $dumperTag = 'translation.dumper')
process(ContainerBuilder $container)

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

Details

__construct(string $writerServiceId = 'translation.writer', string $dumperTag = 'translation.dumper')

Parameters

string $writerServiceId
string $dumperTag

process(ContainerBuilder $container)

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

Parameters

ContainerBuilder $container