original_string: protected function addIteratedValidationMessages($attribute, $messages = [])
      {
          foreach ($messages as $field => $message) {
              $field_name = $attribute.$field;
              $messages[$field_name] = $message;
          }
          $this->setCustomMessages($messages);
      }
code: protected function addIteratedValidationMessages($attribute, $messages = [])
      {
          foreach ($messages as $field => $message) {
              $field_name = $attribute.$field;
              $messages[$field_name] = $message;
          }
          $this->setCustomMessages($messages);
      }
code_tokens: protected function addIteratedValidationMessages ( $ attribute , $ messages = [ ] ) { foreach ( $ messages as $ field => $ message ) { $ field_name = $ attribute . $ field ; $ messages [ $ field_name ] = $ message ; } $ this -> setCustomMessages ( $ messages ) ; }
docstring: Add any custom messages for this ruleSet to the validator
  
  @param $attribute
  @param array $messages
  
  @return void
docstring_tokens: Add any custom messages for this ruleSet to the validator