/** * Flush content cache entries by tag * * @param string $tag A tag value that was assigned to a cache entry in TypoScript, for example "Everything", "Node_[…]", "NodeType_[…]", "DescendantOf_[…]" whereas "…" is the node identifier or node type respectively * @return integer The number of cache entries which actually have been flushed */ public function flushByTag($tag) { return $this->cache->flushByTag($this->sanitizeTag($tag)); }
/** * Flushes 'findMatchResults' and 'resolve' caches for the given $tag * * @param string $tag * @return void */ public function flushCachesByTag($tag) { $this->routeCache->flushByTag($tag); $this->resolveCache->flushByTag($tag); }
/** * Flushes 'findMatchResults' and 'resolve' caches for the given $tag * * @param string $tag * @return void */ public function flushCachesByTag($tag) { $this->findMatchResultsCache->flushByTag($tag); $this->resolveCache->flushByTag($tag); }