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