Class Translator

Summary

Fully Qualified Name: Zend\Config\Processor\Translator
Implements: ProcessorInterface

Description

Methods

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

Method Details

__construct()

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:

getLocale()

Returns: string|null

getTextDomain()

Returns: string

getTranslator()

Returns: \ZendTranslator

process()

Process

Parameter Name Type Description
$config \Config

Returns: \Config

processValue()

Process a single value

Parameter Name Type Description
$value
$value

Returns: string

setLocale()

Parameter Name Type Description
$locale string|null

Returns: self

setTextDomain()

Parameter Name Type Description
$textDomain string

Returns: self

setTranslator()

Parameter Name Type Description
$translator \ZendTranslator

Returns: self

Top