public static function getResponseLine(ResponseInterface $response): string
    {
        return sprintf(
            '%s %d%s',
            self::getProtocol($response),
            self::getStatus($response),
            ($response->getReasonPhrase() ? ' '.$response->getReasonPhrase() : '')
        );
    }
public static function getResponseLine(ResponseInterface $response): string
    {
        return sprintf(
            '%s %d%s',
            self::getProtocol($response),
            self::getStatus($response),
            ($response->getReasonPhrase() ? ' '.$response->getReasonPhrase() : '')
        );
    }
public static function getResponseLine ( ResponseInterface $ response ) : string { return sprintf ( '%s %d%s' , self :: getProtocol ( $ response ) , self :: getStatus ( $ response ) , ( $ response -> getReasonPhrase ( ) ? ' ' . $ response -> getReasonPhrase ( ) : '' ) ) ; }
Returns the response status line
Returns the response status line