PHP Class Neos\Neos\Routing\Cache\RouteCacheFlusher

Show file Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$routeCachingService Neos\Flow\Mvc\Routing\RouterCachingService
$tagsToFlush array

Public Methods

Method Description
commit ( ) : void Flush caches according to the previously registered node changes.
registerNodeChange ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void Schedules flushing of the routing cache entries for the given $node Note that child nodes are flushed automatically because they are tagged with all parents.
shutdownObject ( ) : void

Method Details

commit() public method

Flush caches according to the previously registered node changes.
public commit ( ) : void
return void

registerNodeChange() public method

Schedules flushing of the routing cache entries for the given $node Note that child nodes are flushed automatically because they are tagged with all parents.
public registerNodeChange ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface The node which has changed in some way
return void

shutdownObject() public method

public shutdownObject ( ) : void
return void

Property Details

$routeCachingService protected property

protected RouterCachingService,Neos\Flow\Mvc\Routing $routeCachingService
return Neos\Flow\Mvc\Routing\RouterCachingService

$tagsToFlush protected property

protected array $tagsToFlush
return array