Exemple #1
0
 /**
  * Deletes a value from the cache
  *
  * @param String $key The value to delete
  * @return \r8\Cache\Suffix Returns a self reference
  */
 public function delete($key)
 {
     $this->inner->delete($this->prepareKey($key));
     return $this;
 }
Exemple #2
0
 /**
  * Deletes a value from the cache
  *
  * @param String $key The value to delete
  * @return \r8\Cache\Group Returns a self reference
  */
 public function delete($key)
 {
     $this->cache->delete($this->modifyKey($key));
     return $this;
 }
Exemple #3
0
 /**
  * Deletes a value from the cache
  *
  * @param String $key The value to delete
  * @return \r8\Cache\Layered Returns a self reference
  */
 public function delete($key)
 {
     $this->primary->delete($key);
     $this->secondary->delete($key);
     return $this;
 }
Exemple #4
0
 /**
  * Deletes this value from the cache
  *
  * @return \r8\Cache\Value Returns a self reference
  */
 public function delete()
 {
     $this->cache->delete($this->key);
     return $this;
 }