original_string: public function getArray()
      {
          $arr = array('jsonrpc' => self::JSON_RPC_VERSION, 'method' => $this->method);
          if ($this->params) {
              $arr['params'] = $this->params;
          }
          if ($this->id !== null) {
              $arr['id'] = $this->id;
          }
          return $arr;
      }
code: public function getArray()
      {
          $arr = array('jsonrpc' => self::JSON_RPC_VERSION, 'method' => $this->method);
          if ($this->params) {
              $arr['params'] = $this->params;
          }
          if ($this->id !== null) {
              $arr['id'] = $this->id;
          }
          return $arr;
      }
code_tokens: public function getArray ( ) { $ arr = array ( 'jsonrpc' => self :: JSON_RPC_VERSION , 'method' => $ this -> method ) ; if ( $ this -> params ) { $ arr [ 'params' ] = $ this -> params ; } if ( $ this -> id !== null ) { $ arr [ 'id' ] = $ this -> id ; } return $ arr ; }
docstring: return an associated array for this object
docstring_tokens: return an associated array for this object