예제 #1
0
 /**
  * Removes items from the cache by conditions.
  * Conditions are:
  * - Cache::PRIORITY => (int) priority
  * - Cache::TAGS => (array) tags
  * - Cache::ALL => TRUE
  *
  * @param  array
  * @return void
  */
 public function clean(array $conds = NULL)
 {
     $this->release();
     $this->storage->clean((array) $conds);
 }
예제 #2
0
 /**
  * Removes items from the cache by conditions.
  * @param  array
  * @return void
  */
 public function clean(array $conds = NULL)
 {
     $this->adjust($conds);
     $this->storage->clean($conds);
 }