original_string: public function setHeaders(array $headers, $reset = false)
      {
          if ($reset === true) {
              $this->api_headers = $headers;
          } else {
              $this->api_headers += $headers;
          }
  
          return $this;
      }
code: public function setHeaders(array $headers, $reset = false)
      {
          if ($reset === true) {
              $this->api_headers = $headers;
          } else {
              $this->api_headers += $headers;
          }
  
          return $this;
      }
code_tokens: public function setHeaders ( array $ headers , $ reset = false ) { if ( $ reset === true ) { $ this -> api_headers = $ headers ; } else { $ this -> api_headers += $ headers ; } return $ this ; }
docstring: Set the headers for all requests
  
  @param array $headers Global headers for all future requests
  @param bool $reset
  @return $this
docstring_tokens: Set the headers for all requests