TranslatorPass
in package
implements
CompilerPassInterface
Interfaces, Classes, Traits and Enums
- CompilerPassInterface
- Interface that must be implemented by compilation passes.
Table of Contents
- $debugCommandServiceId : mixed
- $loaderTag : mixed
- $readerServiceId : mixed
- $translatorServiceId : mixed
- $updateCommandServiceId : mixed
- __construct() : mixed
- process() : mixed
- You can modify the container here before it is dumped to PHP code.
Properties
$debugCommandServiceId
private
mixed
$debugCommandServiceId
$loaderTag
private
mixed
$loaderTag
$readerServiceId
private
mixed
$readerServiceId
$translatorServiceId
private
mixed
$translatorServiceId
$updateCommandServiceId
private
mixed
$updateCommandServiceId
Methods
__construct()
public
__construct([string $translatorServiceId = 'translator.default' ][, string $readerServiceId = 'translation.reader' ][, string $loaderTag = 'translation.loader' ][, string $debugCommandServiceId = 'console.command.translation_debug' ][, string $updateCommandServiceId = 'console.command.translation_update' ]) : mixed
Parameters
- $translatorServiceId : string = 'translator.default'
- $readerServiceId : string = 'translation.reader'
- $loaderTag : string = 'translation.loader'
- $debugCommandServiceId : string = 'console.command.translation_debug'
- $updateCommandServiceId : string = 'console.command.translation_update'
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