original_string: public function method($method)
      {
          $this->headers = array_merge($this->headers, array('X-HTTP-Method-Override: ' . $method));
          $this->setOption(CURLOPT_CUSTOMREQUEST, $method);
          $this->setOption(CURLOPT_HTTPHEADER, $this->headers);
      }
code: public function method($method)
      {
          $this->headers = array_merge($this->headers, array('X-HTTP-Method-Override: ' . $method));
          $this->setOption(CURLOPT_CUSTOMREQUEST, $method);
          $this->setOption(CURLOPT_HTTPHEADER, $this->headers);
      }
code_tokens: public function method ( $ method ) { $ this -> headers = array_merge ( $ this -> headers , array ( 'X-HTTP-Method-Override: ' . $ method ) ) ; $ this -> setOption ( CURLOPT_CUSTOMREQUEST , $ method ) ; $ this -> setOption ( CURLOPT_HTTPHEADER , $ this -> headers ) ; }
docstring: Set cURL method
  
  @param string $method
  @return void
docstring_tokens: Set cURL method