public static function unregister()
    {
        if (!static::$protocol) {
            return;
        }
        if (!stream_wrapper_unregister(static::$protocol)) {
            throw new \RuntimeException(sprintf('The protocol "%s" cannot be unregistered
                from the runtime', static::$protocol));
        }
        static::$protocol       = null;
        static::$pathFactory    = null;
        static::$bufferFactory  = null;
    }