public static function register()
    {
        if (self::$registered === null) {
            self::$registered = 'stream-callback';
            \stream_filter_register(self::$registered, CallbackFilter::class);
        }

        return self::$registered;
    }