original_string: public function set($key, $value)
      {
          $hash = $this->key_to_hash($key);
          $this->array[$hash] = $value;
          return $this;
      }
code: public function set($key, $value)
      {
          $hash = $this->key_to_hash($key);
          $this->array[$hash] = $value;
          return $this;
      }
code_tokens: public function set ( $ key , $ value ) { $ hash = $ this -> key_to_hash ( $ key ) ; $ this -> array [ $ hash ] = $ value ; return $ this ; }
docstring: Set a key and its corresponding value into the map.
  
  This is the object method equivalent of the magic $map[$key] = 'foo'.
  
  @param mixed $key
  @param mixed $value
  @return $this
  @api
docstring_tokens: Set a key and its corresponding value into the map .