Fully Qualified Name: | Zend\Config\Processor\Translator |
Implements: | ProcessorInterface |
Name | Description | Defined By |
---|---|---|
__construct() | Translator uses the supplied Zend\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 Zend\I18n\Translator\Translator to find and translate language strings in config.
Parameter Name | Type | Description |
---|---|---|
$translator | \ZendTranslator | |
$textDomain | string | |
$locale | string|null |
Returns:
Returns: string|null
Returns: string
Returns: \ZendTranslator
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 | \ZendTranslator |
Returns: self