original_string: public function add($key, $value)
      {
          if (! isset($this->attributes[$key])) {
              $this->attributes[$key] = array();
          }
  
          $this->attributes[$key][] = $value;
  
          return $this;
      }
code: public function add($key, $value)
      {
          if (! isset($this->attributes[$key])) {
              $this->attributes[$key] = array();
          }
  
          $this->attributes[$key][] = $value;
  
          return $this;
      }
code_tokens: public function add ( $ key , $ value ) { if ( ! isset ( $ this -> attributes [ $ key ] ) ) { $ this -> attributes [ $ key ] = array ( ) ; } $ this -> attributes [ $ key ] [ ] = $ value ; return $ this ; }
docstring: Add an attributes data.
  
  @method add
  
  @param string $key
  @param mixed  $value
docstring_tokens: Add an attributes data .