protected function registerCacheFactory()
    {
        $this->app->singleton('flysystem.cachefactory', function (Container $app) {
            $cache = $app['cache'];

            return new CacheFactory($cache);
        });

        $this->app->alias('flysystem.cachefactory', CacheFactory::class);
    }