original_string: public function appendData($key, $data)
      {
          $this->_putData($key, $data);
  
          if ($this->_objectCreation) {
              return $this->_afterAppendDataToNewObject();
          }
          return $this;
      }
code: public function appendData($key, $data)
      {
          $this->_putData($key, $data);
  
          if ($this->_objectCreation) {
              return $this->_afterAppendDataToNewObject();
          }
          return $this;
      }
code_tokens: public function appendData ( $ key , $ data ) { $ this -> _putData ( $ key , $ data ) ; if ( $ this -> _objectCreation ) { return $ this -> _afterAppendDataToNewObject ( ) ; } return $ this ; }
docstring: allow to set some mixed data type as given key
  
  @param array|string $key
  @param mixed $data
  @return $this
docstring_tokens: allow to set some mixed data type as given key