original_string: protected function addError($attribute, $rule, $parameters)
      {
          $message = $this->getMessage($attribute, $rule);
  
          $message = $this->doReplacements($message, $attribute, $rule, $parameters);
  
          $this->messages->add($attribute, $message);
      }
code: protected function addError($attribute, $rule, $parameters)
      {
          $message = $this->getMessage($attribute, $rule);
  
          $message = $this->doReplacements($message, $attribute, $rule, $parameters);
  
          $this->messages->add($attribute, $message);
      }
code_tokens: protected function addError ( $ attribute , $ rule , $ parameters ) { $ message = $ this -> getMessage ( $ attribute , $ rule ) ; $ message = $ this -> doReplacements ( $ message , $ attribute , $ rule , $ parameters ) ; $ this -> messages -> add ( $ attribute , $ message ) ; }
docstring: Add an error message to the validator's collection of messages.
  
  @param  string  $attribute
  @param  string  $rule
  @param  array   $parameters
  @return void
docstring_tokens: Add an error message to the validator s collection of messages .