public function getMessage($attribute, $rule)
    {
        if (is_object($rule)) {
            $rule = get_class($rule);
        }
        
        return $this->callValidator('getMessage', [$attribute, $rule]);
    }
public function getMessage($attribute, $rule)
    {
        if (is_object($rule)) {
            $rule = get_class($rule);
        }
        
        return $this->callValidator('getMessage', [$attribute, $rule]);
    }
public function getMessage ( $ attribute , $ rule ) { if ( is_object ( $ rule ) ) { $ rule = get_class ( $ rule ) ; } return $ this -> callValidator ( 'getMessage' , [ $ attribute , $ rule ] ) ; }
Get the validation message for an attribute and rule.

@param string $attribute
@param string $rule
@return string
Get the validation message for an attribute and rule .