protected function addIteratedValidationMessages($attribute, $messages = [])
    {
        foreach ($messages as $field => $message) {
            $field_name = $attribute.$field;
            $messages[$field_name] = $message;
        }
        $this->setCustomMessages($messages);
    }
protected function addIteratedValidationMessages($attribute, $messages = [])
    {
        foreach ($messages as $field => $message) {
            $field_name = $attribute.$field;
            $messages[$field_name] = $message;
        }
        $this->setCustomMessages($messages);
    }
protected function addIteratedValidationMessages ( $ attribute , $ messages = [ ] ) { foreach ( $ messages as $ field => $ message ) { $ field_name = $ attribute . $ field ; $ messages [ $ field_name ] = $ message ; } $ this -> setCustomMessages ( $ messages ) ; }
Add any custom messages for this ruleSet to the validator

@param $attribute
@param array $messages

@return void
Add any custom messages for this ruleSet to the validator