protected function getFromCache($key, $time, $fn) { $cache = Cache::driver(Cache::getDefaultDriver()); if ($cache instanceof TaggableStore) { $cache->tags('shortener'); } return $cache->remember($key, $time, $fn); }
protected function getFromCache($key, $time, $fn) { $cache = Cache::driver(Cache::getDefaultDriver()); if ($cache instanceof TaggableStore) { $cache->tags('shortener'); } return $cache->remember($key, $time, $fn); }