ZenValidatorConstraint::getMessage PHP Method

getMessage() public method

Get's the message that was set on the constrctor or falls back to default
public getMessage ( ) : string
return string
    public function getMessage()
    {
        return $this->customMessage ? $this->customMessage : $this->getDefaultMessage();
    }