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