public static function removeLabels($uri, int $key, int ... $keys)
    {
        return $uri->withHost((string) (new Domain(self::filterUri($uri)->getHost()))->withoutLabel($key, ...$keys));
    }
public static function removeLabels($uri, int $key, int ... $keys)
    {
        return $uri->withHost((string) (new Domain(self::filterUri($uri)->getHost()))->withoutLabel($key, ...$keys));
    }
public static function removeLabels ( $ uri , int $ key , int ... $ keys ) { return $ uri -> withHost ( ( string ) ( new Domain ( self :: filterUri ( $ uri ) -> getHost ( ) ) ) -> withoutLabel ( $ key , ... $ keys ) ) ; }
Remove host labels according to their offset.

@param int... $keys

@return Psr7UriInterface|UriInterface
Remove host labels according to their offset .