protected function emitStatusLine(ResponseInterface $response)
    {
        $reasonPhrase = $response->getReasonPhrase();
        header(sprintf(
            'HTTP/%s %d%s',
            $response->getProtocolVersion(),
            $response->getStatusCode(),
            ($reasonPhrase ? ' ' . $reasonPhrase : '')
        ));

        return $this;
    }
protected function emitStatusLine(ResponseInterface $response)
    {
        $reasonPhrase = $response->getReasonPhrase();
        header(sprintf(
            'HTTP/%s %d%s',
            $response->getProtocolVersion(),
            $response->getStatusCode(),
            ($reasonPhrase ? ' ' . $reasonPhrase : '')
        ));

        return $this;
    }
protected function emitStatusLine ( ResponseInterface $ response ) { $ reasonPhrase = $ response -> getReasonPhrase ( ) ; header ( sprintf ( 'HTTP/%s %d%s' , $ response -> getProtocolVersion ( ) , $ response -> getStatusCode ( ) , ( $ reasonPhrase ? ' ' . $ reasonPhrase : '' ) ) ) ; return $ this ; }
Emits the status line.

@param \Psr\Http\Message\ResponseInterface $response The response

@return self
Emits the status line .