ConstraintViolationBuilder::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
doc_Symfony
2016-10-28 06:11:36
Comments
Leave a Comment

Please login to continue.