/** * @param $key */ protected function deleteChain($key) { InMemoryAdapter::getInstance()->delete($key); if (null !== $this->nextAdapter) { $this->nextAdapter->delete($key); } }
/** * Delete a value identified by $key. * * @param string $key */ public function delete($key) { $this->cache->delete($this->namespace . $key); }