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