ConstraintViolationBuilderInterface::setTranslationDomain()

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

See also

\Symfony\Component\Translation\TranslatorInterface
doc_Symfony
2016-10-28 06:11:39
Comments
Leave a Comment

Please login to continue.