/** * PUBLIC METHOD FOR UNIT TESTING ONLY ! * * Force a cache record to expire * * @param string $id cache id */ public function ___expire($id) { $this->_fastBackend->remove($id); $this->_slowBackend->___expire($id); }
/** * Delete a cache value. * * @param string $id Cache id. * @return Cacheable */ public function remove($id = null) { $this->cache->remove((string) $id); return $this; }