public function afterUpdate() { parent::afterUpdate(); $cache = $this->getDi()->get('cache'); $cache->delete(self::cacheSlugKey($this->getSlug())); $this->cacheManager->delete([Keys::PUBLICATION, $this->slug, self::$lang]); }
public function afterUpdate() { parent::afterUpdate(); $cache = $this->getDi()->get('cache'); $cache->delete(self::cacheSlugKey($this->getSlug())); }