/**
  * @since 2.3
  */
 public function deleteCache()
 {
     list($id, $optionsKey) = $this->getCacheKey($this->listLookup->getHash());
     $data = unserialize($this->cache->fetch($id));
     if ($data && $data !== array()) {
         foreach ($data as $key => $value) {
             $this->cache->delete($key);
         }
     }
     $this->cache->delete($id);
 }
Esempio n. 2
0
 /**
  * @since 2.3
  */
 public function deleteCache()
 {
     list($id, $optionsKey) = $this->getCacheKey($this->listLookup->getLookupIdentifier());
     $this->cache->delete($id);
 }