Neos\Neos\Routing\Cache\RouteCacheFlusher::commit PHP Method

commit() public method

Flush caches according to the previously registered node changes.
public commit ( ) : void
return void
    public function commit()
    {
        foreach ($this->tagsToFlush as $tag) {
            $this->routeCachingService->flushCachesByTag($tag);
        }
        $this->tagsToFlush = array();
    }