__call()
__construct()
getTranslator()
translate()
translatePlural()
$translator
__call(string $method, array $args) : mixed
Note: this method is only implemented to keep backwards compatibility with pre-2.3.0 code.
deprecated |
---|
string
array
mixed
__construct(\Zend\I18n\Translator\TranslatorInterface $translator)
\Zend\I18n\Translator\TranslatorInterface
getTranslator() : \Zend\I18n\Translator\TranslatorInterface
translate(string $message, string $textDomain, string $locale) : string
string
string
string
string
translatePlural(string $singular, string $plural, string $number, string $textDomain, string $locale) : string
string
string
string
string
string
string