/** * Deletes a cache entry. * * @param string $id The cache id. * @return boolean TRUE if the cache entry was successfully deleted, FALSE otherwise. */ public function delete($id) { return $this->cache->remove($this->convertCacheIdentifier($id)); }
/** * Deletes a cache entry. * * @param string $id The cache id. * @return boolean TRUE if the cache entry was successfully deleted, FALSE otherwise. */ public function delete($id) { return $this->cache->remove(md5($id)); }
/** */ protected function clearKlosterCache() { if ($this->cacheInterface->has('kloster')) { $this->cacheInterface->remove('kloster'); } }