original_string: public function set_config($key, $value) {
          if ($this->config === null) {
              $this->config = (object) array();
          }
          $this->config->$key = $value;
          $this->dirty = true;
  
          return $this;
      }
code: public function set_config($key, $value) {
          if ($this->config === null) {
              $this->config = (object) array();
          }
          $this->config->$key = $value;
          $this->dirty = true;
  
          return $this;
      }
code_tokens: public function set_config ( $ key , $ value ) { if ( $ this -> config === null ) { $ this -> config = ( object ) array ( ) ; } $ this -> config -> $ key = $ value ; $ this -> dirty = true ; return $ this ; }
docstring: Set the configuration item as specified.
  
  @param   string      $key        The configuration key to set.
  @param   mixed       $value      The new value for the configuration item.
  @return  $this
docstring_tokens: Set the configuration item as specified .