getTranslator()
getTranslatorTextDomain()
hasTranslator()
isTranslatorEnabled()
setTranslator()
setTranslatorEnabled()
setTranslatorTextDomain()
getTranslator() : \Zend\Validator\Translator\TranslatorInterface | null
getTranslatorTextDomain() : string
string
hasTranslator() : bool
bool
isTranslatorEnabled() : bool
bool
setTranslator(\Zend\Validator\Translator\TranslatorInterface $translator, string $textDomain) : \Zend\Validator\Translator\self
\Zend\Validator\Translator\TranslatorInterface
[optional] translator. Default is null, which sets no translator.
string
[optional] text domain Default is null, which skips setTranslatorTextDomain
\Zend\Validator\Translator\self
setTranslatorEnabled(bool $enabled) : \Zend\Validator\Translator\self
bool
[optional] whether translator should be used. Default is true.
\Zend\Validator\Translator\self
setTranslatorTextDomain(string $textDomain) : \Zend\Validator\Translator\TranslatorAwareInterface