original_string: protected function addHeaders(array $headers)
      {
          foreach ($headers as $key => $val) {
              $normalized = strtolower($key);
              $this->headers[$key] = (array)$val;
              $this->headerNames[$normalized] = $key;
          }
      }
code: protected function addHeaders(array $headers)
      {
          foreach ($headers as $key => $val) {
              $normalized = strtolower($key);
              $this->headers[$key] = (array)$val;
              $this->headerNames[$normalized] = $key;
          }
      }
code_tokens: protected function addHeaders ( array $ headers ) { foreach ( $ headers as $ key => $ val ) { $ normalized = strtolower ( $ key ) ; $ this -> headers [ $ key ] = ( array ) $ val ; $ this -> headerNames [ $ normalized ] = $ key ; } }
docstring: Add an array of headers to the request.
  
  @param array $headers The headers to add.
  @return void
docstring_tokens: Add an array of headers to the request .