Neos\Flow\Mvc\Routing\RouterCachingService::flushCachesByTag PHP Метод

flushCachesByTag() публичный Метод

Flushes 'findMatchResults' and 'resolve' caches for the given $tag
public flushCachesByTag ( string $tag ) : void
$tag string
Результат void
    public function flushCachesByTag($tag)
    {
        $this->routeCache->flushByTag($tag);
        $this->resolveCache->flushByTag($tag);
    }

Usage Example

 /**
  * Flush caches according to the previously registered node changes.
  *
  * @return void
  */
 public function commit()
 {
     foreach ($this->tagsToFlush as $tag) {
         $this->routeCachingService->flushCachesByTag($tag);
     }
     $this->tagsToFlush = array();
 }
All Usage Examples Of Neos\Flow\Mvc\Routing\RouterCachingService::flushCachesByTag