original_string: public function set($key, $value = null) {
          if (strpos($key, '.') === false) {
              $this->_data[$key] = $value;
          } else {
              $this->_data = Hash::set($this->_data, $key, $value);
          }
  
          return $this;
      }
code: public function set($key, $value = null) {
          if (strpos($key, '.') === false) {
              $this->_data[$key] = $value;
          } else {
              $this->_data = Hash::set($this->_data, $key, $value);
          }
  
          return $this;
      }
code_tokens: public function set ( $ key , $ value = null ) { if ( strpos ( $ key , '.' ) === false ) { $ this -> _data [ $ key ] = $ value ; } else { $ this -> _data = Hash :: set ( $ this -> _data , $ key , $ value ) ; } return $ this ; }
docstring: Set a parameter value by key.
  
  @uses Titon\Utility\Hash
  
  @param string $key
  @param mixed $value
  @return $this
docstring_tokens: Set a parameter value by key .