ConstraintViolationBuilderInterface
setTranslationDomain(string $translationDomain)
Sets the translation domain which should be used for translating the violation message.
Parameters string $translationDomain The translation domain Return Value ConstraintViolationBuilderInterface This builder