src/SapiServer.php
protected function serveStatus(ResponseInterface $response)
    {
        $protocol = $response->getProtocolVersion();
        $status = $response->getStatusCode();
        $reason = $response->getReasonPhrase();
        if ($reason != '') {
            $reason = ' ' . $reason;
        }
        header('HTTP/' . $protocol . ' ' . $status . $reason);
    }
protected function serveStatus(ResponseInterface $response)
    {
        $protocol = $response->getProtocolVersion();
        $status = $response->getStatusCode();
        $reason = $response->getReasonPhrase();
        if ($reason != '') {
            $reason = ' ' . $reason;
        }
        header('HTTP/' . $protocol . ' ' . $status . $reason);
    }
protected function serveStatus ( ResponseInterface $ response ) { $ protocol = $ response -> getProtocolVersion ( ) ; $ status = $ response -> getStatusCode ( ) ; $ reason = $ response -> getReasonPhrase ( ) ; if ( $ reason != '' ) { $ reason = ' ' . $ reason ; } header ( 'HTTP/' . $ protocol . ' ' . $ status . $ reason ) ; }
Set the status line.

@param ResponseInterface $response The response.
Set the status line .