original_string: protected function emitStatusLine(ResponseInterface $response)
      {
          $reasonPhrase = $response->getReasonPhrase();
          header(sprintf(
              'HTTP/%s %d%s',
              $response->getProtocolVersion(),
              $response->getStatusCode(),
              ($reasonPhrase ? ' ' . $reasonPhrase : '')
          ));
  
          return $this;
      }
code: protected function emitStatusLine(ResponseInterface $response)
      {
          $reasonPhrase = $response->getReasonPhrase();
          header(sprintf(
              'HTTP/%s %d%s',
              $response->getProtocolVersion(),
              $response->getStatusCode(),
              ($reasonPhrase ? ' ' . $reasonPhrase : '')
          ));
  
          return $this;
      }
code_tokens: protected function emitStatusLine ( ResponseInterface $ response ) { $ reasonPhrase = $ response -> getReasonPhrase ( ) ; header ( sprintf ( 'HTTP/%s %d%s' , $ response -> getProtocolVersion ( ) , $ response -> getStatusCode ( ) , ( $ reasonPhrase ? ' ' . $ reasonPhrase : '' ) ) ) ; return $ this ; }
docstring: Emits the status line.
  
  @param \Psr\Http\Message\ResponseInterface $response The response
  
  @return self
docstring_tokens: Emits the status line .