Example #1
0
 protected function _before()
 {
     Cache::$_instance = null;
     $this->instance1 = Cache::getInstance();
     $this->instance2 = Cache::getInstance();
 }
Example #2
0
 /**
  * Clean cache.
  *
  * @param bool|string $group name of the cache group
  * @return void
  */
 public static function clean($group = FALSE)
 {
     $core = Cache::getInstance();
     $core->clean($group);
 }