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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.