Symfony\Component\Validator\ValidatorBuilderInterface::setTranslationDomain
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.
Signature
public function setTranslationDomain(string
$translationDomain )
Parameters
$translationDomain
— string- The translation domain of the violation messages.
Returns
- ValidatorBuilderInterface
- The builder object.