Example #1
0
 /**
  * Resets the combiner cache
  * @return void
  */
 public static function resetCache()
 {
     if (Cache::has('combiner.index')) {
         $index = (array) @unserialize(@base64_decode(Cache::get('combiner.index'))) ?: [];
         foreach ($index as $cacheKey) {
             Cache::forget($cacheKey);
         }
         Cache::forget('combiner.index');
     }
     CacheHelper::instance()->clearCombiner();
 }