/** * 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); }
/** * Removes items from the cache by conditions. * @param array * @return void */ public function clean(array $conds = NULL) { $this->adjust($conds); $this->storage->clean($conds); }