Esempio n. 1
0
File: Cache.php Progetto: jasny/Q
 /**
  * Remove data from cache.
  * 
  * @param string  $id   Cache id
  * @param int     $opt  Cache::% options
  */
 public function remove($id, $opt = 0)
 {
     $this->doRemove($id);
     if (isset($this->chainNext) && ~$opt & self::NOCASCADE) {
         $this->chainNext->remove($id);
     }
 }