original_string: private function setHeaders(array $headers)
      {
          if ( ! empty($headers))
          {
              $this->setOption(CURLOPT_HTTPHEADER, $this->optionParser->parseHeaders($headers));
          }
          else
          {
              $this->unsetOption(CURLOPT_HTTPHEADER);
          }
      }
code: private function setHeaders(array $headers)
      {
          if ( ! empty($headers))
          {
              $this->setOption(CURLOPT_HTTPHEADER, $this->optionParser->parseHeaders($headers));
          }
          else
          {
              $this->unsetOption(CURLOPT_HTTPHEADER);
          }
      }
code_tokens: private function setHeaders ( array $ headers ) { if ( ! empty ( $ headers ) ) { $ this -> setOption ( CURLOPT_HTTPHEADER , $ this -> optionParser -> parseHeaders ( $ headers ) ) ; } else { $ this -> unsetOption ( CURLOPT_HTTPHEADER ) ; } }
docstring: Set request headers
  
  @param array $headers
  
  @return void
docstring_tokens: Set request headers