Exemple #1
0
 /**
  * @param $key
  */
 protected function deleteChain($key)
 {
     InMemoryAdapter::getInstance()->delete($key);
     if (null !== $this->nextAdapter) {
         $this->nextAdapter->delete($key);
     }
 }
Exemple #2
0
 /**
  * Clears all values from the cache.
  *
  * @return mixed
  */
 public function drop()
 {
     return $this->cache->drop();
 }