src/Generics/Client/HttpStatus.php
public static function parseStatus($statusLine): HttpStatus
    {
        list ($proto, $code) = sscanf($statusLine, "%s %d %s");
        return new HttpStatus($code, $proto);
    }
public static function parseStatus($statusLine): HttpStatus
    {
        list ($proto, $code) = sscanf($statusLine, "%s %d %s");
        return new HttpStatus($code, $proto);
    }
Parse the status line into its parts

@param string $statusLine

@return HttpStatus