original_string: public function set($key, $data = null)
      {
          if (is_array($key)) {
              $this->appendArray($key);
          } else {
              $this->appendData($key, $data);
          }
  
          return $this;
      }
code: public function set($key, $data = null)
      {
          if (is_array($key)) {
              $this->appendArray($key);
          } else {
              $this->appendData($key, $data);
          }
  
          return $this;
      }
code_tokens: public function set ( $ key , $ data = null ) { if ( is_array ( $ key ) ) { $ this -> appendArray ( $ key ) ; } else { $ this -> appendData ( $ key , $ data ) ; } return $ this ; }
docstring: set some data in object
  can give pair key=>value or array of keys
  
  @param string|array $key
  @param mixed $data
  @return $this
docstring_tokens: set some data in object can give pair key = > value or array of keys