Zend\Mvc\I18n\Translator
Synopsis
class Translator
implements
TranslatorInterface,TranslatorInterface
{
- // members
- protected I18nTranslator $translator;
- // methods
- public void __construct()
- public mixed __call()
- public TranslatorInterface getTranslator()
- public string translate()
- public string translatePlural()
Hierarchy
Members
protected
- $translator — Zend\Mvc\I18n\I18nTranslator
Methods
public
- __construct()
- __call() — Proxy unknown method calls to underlying translator instance
- getTranslator()
- translate() — Translate a message using the given text domain and locale
- translatePlural() — Provide a pluralized translation of the given string using the given text domain and locale