src/Check.php
public function getMessage($name = null)
    {
        if ($name === null) {
            return $this->message;
        }
        return str_replace(':name', $name, $this->message);
    }
public function getMessage($name = null)
    {
        if ($name === null) {
            return $this->message;
        }
        return str_replace(':name', $name, $this->message);
    }
public function getMessage ( $ name = null ) { if ( $ name === null ) { return $ this -> message ; } return str_replace ( ':name' , $ name , $ this -> message ) ; }
Get the value of the message for the check

@param string $name Key name for the field
@return string Formatted/default message
Get the value of the message for the check