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