/** * {@inheritdoc} */ public function delete($id) { try { SystemCache::remove($this->transformCacheKey($id)); return true; } catch (\Exception $e) { return false; } }
/** * deletes element from mockup cache * * @param $objectId */ protected function deleteFromMockupCache($objectId) { $key = $this->getMockupCachePrefix() . "_" . $this->name . "_" . $objectId; \Pimcore\Model\Cache::remove($key); }