src/Validation.php
public function setMainMessage(string $message, bool $translate = true) {
        $this->mainMessage = $translate ? $this->translate($message) : $message;
        return $this;
    }
public function setMainMessage(string $message, bool $translate = true) {
        $this->mainMessage = $translate ? $this->translate($message) : $message;
        return $this;
    }
public function setMainMessage ( string $ message , bool $ translate = true ) { $ this -> mainMessage = $ translate ? $ this -> translate ( $ message ) : $ message ; return $ this ; }
Set the main error message.

@param string $message The new message.
@param bool $translate Whether or not to translate the message.
@return $this
Set the main error message .