original_string: public function add($key, $value)
      {
          $this->collection[$key]       = $value;
          $this->indices[$this->length] = $key;
          $this->length++;
  
          return $this;
      }
code: public function add($key, $value)
      {
          $this->collection[$key]       = $value;
          $this->indices[$this->length] = $key;
          $this->length++;
  
          return $this;
      }
code_tokens: public function add ( $ key , $ value ) { $ this -> collection [ $ key ] = $ value ; $ this -> indices [ $ this -> length ] = $ key ; $ this -> length ++ ; return $ this ; }
docstring: Add data to the collection.
  
  @param  string $key
  @param  mixed  $value
  @return self
docstring_tokens: Add data to the collection .