TranslationExtractorPass
in package
implements
CompilerPassInterface
Adds tagged translation.extractor services to translation extractor.
Interfaces, Classes, Traits and Enums
- CompilerPassInterface
- Interface that must be implemented by compilation passes.
Table of Contents
- $extractorServiceId : mixed
- $extractorTag : mixed
- __construct() : mixed
- process() : mixed
- You can modify the container here before it is dumped to PHP code.
Properties
$extractorServiceId
private
mixed
$extractorServiceId
$extractorTag
private
mixed
$extractorTag
Methods
__construct()
public
__construct([string $extractorServiceId = 'translation.extractor' ][, string $extractorTag = 'translation.extractor' ]) : mixed
Parameters
- $extractorServiceId : string = 'translation.extractor'
- $extractorTag : string = 'translation.extractor'
Return values
mixed —process()
You can modify the container here before it is dumped to PHP code.
public
process(ContainerBuilder $container) : mixed
Parameters
- $container : ContainerBuilder