Fully Qualified Name: | Laminas\Config\Processor\Translator |
Implements: | ProcessorInterface |
Name | Description | Defined By |
---|---|---|
__construct() | Translator uses the supplied Laminas\I18n\Translator\Translator to find and translate language strings in config. | Translator |
getLocale() | Translator | |
getTextDomain() | Translator | |
getTranslator() | Translator | |
process() | Process | Translator |
processValue() | Process a single value | Translator |
setLocale() | Translator | |
setTextDomain() | Translator | |
setTranslator() | Translator |
Translator uses the supplied Laminas\I18n\Translator\Translator to find and translate language strings in config.
Parameter Name | Type | Description |
---|---|---|
$translator | \LaminasTranslator | |
$textDomain | string | |
$locale | string|null |
Returns:
Returns: string|null
Returns: string
Returns: \LaminasTranslator
Process
Parameter Name | Type | Description |
---|---|---|
$config | \Config |
Returns: \Config
Process a single value
Parameter Name | Type | Description |
---|---|---|
$value | ||
$value |
Returns: string
Parameter Name | Type | Description |
---|---|---|
$locale | string|null |
Returns: self
Parameter Name | Type | Description |
---|---|---|
$textDomain | string |
Returns: self
Parameter Name | Type | Description |
---|---|---|
$translator | \LaminasTranslator |
Returns: self