original_string: public function add($key, $message)
      {
          if ($this->isUnique($key, $message)) {
              $this->messages[$key][] = $message;
          }
  
          return $this;
      }
code: public function add($key, $message)
      {
          if ($this->isUnique($key, $message)) {
              $this->messages[$key][] = $message;
          }
  
          return $this;
      }
code_tokens: public function add ( $ key , $ message ) { if ( $ this -> isUnique ( $ key , $ message ) ) { $ this -> messages [ $ key ] [ ] = $ message ; } return $ this ; }
docstring: Add a message to the message bag.
  
  @param  string  $key
  @param  string  $message
  @return $this
docstring_tokens: Add a message to the message bag .