Zend\I18n\Translator\TranslatorAwareInterface
Synopsis
interface TranslatorAwareInterface
{
- // methods
- public TranslatorAwareInterface setTranslator()
- public TranslatorInterface|null getTranslator()
- public bool hasTranslator()
- public TranslatorAwareInterface setTranslatorEnabled()
- public bool isTranslatorEnabled()
- public TranslatorAwareInterface setTranslatorTextDomain()
- public string getTranslatorTextDomain()
Methods
public
- getTranslator() — Returns translator used in object
- getTranslatorTextDomain() — Return the translation text domain
- hasTranslator() — Checks if the object has a translator
- isTranslatorEnabled() — Returns whether translator is enabled and should be used
- setTranslator() — Sets translator to use in helper
- setTranslatorEnabled() — Sets whether translator is enabled and should be used
- setTranslatorTextDomain() — Set translation text domain