コード例 #1
0
ファイル: TwoLevels.php プロジェクト: netvlies/zf
 /**
  * PUBLIC METHOD FOR UNIT TESTING ONLY !
  *
  * Force a cache record to expire
  *
  * @param string $id cache id
  */
 public function ___expire($id)
 {
     $this->_fastBackend->remove($id);
     $this->_slowBackend->___expire($id);
 }
コード例 #2
0
 /**
  * Delete a cache value.
  *
  * @param  string $id Cache id.
  * @return Cacheable
  */
 public function remove($id = null)
 {
     $this->cache->remove((string) $id);
     return $this;
 }