/** * 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; }
/** * 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; }
/** * 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; }
/** * Deletes this value from the cache * * @return \r8\Cache\Value Returns a self reference */ public function delete() { $this->cache->delete($this->key); return $this; }