Beispiel #1
0
 /**
  * Get the inline message for a rule if it exists.
  *
  * @param  string  $attribute
  * @param  string  $lowerRule
  * @param  array   $source
  * @return string|null
  */
 protected function getInlineMessage($attribute, $lowerRule, $source = null)
 {
     $rule = ucfirst($lowerRule);
     if (in_array($rule, $this->sizeRules)) {
         return $this->getSizeMessage($attribute, $rule);
     }
     return parent::getInlineMessage($attribute, $lowerRule, $source);
 }