public function flush() { $keyList = $this->getKeyList(); $cache = $this->getCache(); foreach ($keyList as $key) { $cache->delete($key); } // Remove the old keylist $cache->delete($this->getKeyListId()); }