コード例 #1
0
ファイル: Adapter.php プロジェクト: nilportugues/cache
 /**
  *
  */
 protected function dropChain()
 {
     InMemoryAdapter::getInstance()->drop();
     if (null !== $this->nextAdapter) {
         $this->nextAdapter->drop();
     }
 }
コード例 #2
0
ファイル: Cache.php プロジェクト: nilportugues/cache
 /**
  * Clears all values from the cache.
  *
  * @return mixed
  */
 public function drop()
 {
     return $this->cache->drop();
 }