original_string: public function emitHeaders(ResponseInterface $response)
      {
          foreach ($response->getHeaders() as $name => $values) {
              foreach (array_values((array)$values) as $i => $value) {
                  $this->header("$name: $value", $i === 0);
              }
          }
      }
code: public function emitHeaders(ResponseInterface $response)
      {
          foreach ($response->getHeaders() as $name => $values) {
              foreach (array_values((array)$values) as $i => $value) {
                  $this->header("$name: $value", $i === 0);
              }
          }
      }
code_tokens: public function emitHeaders ( ResponseInterface $ response ) { foreach ( $ response -> getHeaders ( ) as $ name => $ values ) { foreach ( array_values ( ( array ) $ values ) as $ i => $ value ) { $ this -> header ( "$name: $value" , $ i === 0 ) ; } } }
docstring: Emit the HTTP headers
  
  @param ResponseInterface $response
docstring_tokens: Emit the HTTP headers