Category : asgardcms

namespace AppProviders; use AlternativeLaravelCacheProviderAlternativeCacheStoresServiceProvider; /** Note: Using ‘dev-master’ for the library. If composer update causes issue, then refer to library’s stable release version in composer.json and update it. */ class CacheStoresServiceProvider extends AlternativeCacheStoresServiceProvider { static protected $redisDriverName = ‘redis’; // ‘redis’,’altredis’ static protected $fileDriverName = ‘file’; // ‘file’,’altfile’ public function register() { if (env(‘CACHE_DRIVER’) == ..

Read more