ValidatorBuilderInterface
setTranslationDomain(string $translationDomain)
Sets the default translation domain of violation messages. The same message can have different translations in different domains. Pass the domain that is used for violation messages by default to this method.
Parameters string $translationDomain The translation domain of the violation messages Return Value ValidatorBuilderInterface The builder object