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.
$this
public function setTranslationDomain(?string $translationDomain) : static { $this->translationDomain = $translationDomain; return $this; }