PHP 클래스 Neos\Neos\Fusion\Cache\ContentCacheFlusher

The method registerNodeChange() is triggered by a signal which is configured in the Package class of the Neos.Neos package (this package). Information on changed nodes is collected by this method and the respective TypoScript content cache entries are flushed in one operation during Flow's shutdown procedure.
파일 보기 프로젝트 열기: neos/neos

보호된 프로퍼티들

프로퍼티 타입 설명
$assetService Neos\Media\Domain\Service\AssetService
$contentCache Neos\Fusion\Core\Cache\ContentCache
$systemLogger Neos\Flow\Log\SystemLoggerInterface
$tagsToFlush array

공개 메소드들

메소드 설명
registerAssetResourceChange ( Neos\Media\Domain\Model\AssetInterface $asset ) : void Fetches possible usages of the asset and registers nodes that use the asset as changed.
registerNodeChange ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void Register a node change for a later cache flush. This method is triggered by a signal sent via ContentRepository's Node model or the Neos Publishing Service.
shutdownObject ( ) : void Flush caches according to the previously registered node changes.

보호된 메소드들

메소드 설명
getAllImplementedNodeTypes ( NodeType $nodeType ) : array

메소드 상세

getAllImplementedNodeTypes() 보호된 메소드

protected getAllImplementedNodeTypes ( NodeType $nodeType ) : array
$nodeType Neos\ContentRepository\Domain\Model\NodeType
리턴 array

registerAssetResourceChange() 공개 메소드

Fetches possible usages of the asset and registers nodes that use the asset as changed.
public registerAssetResourceChange ( Neos\Media\Domain\Model\AssetInterface $asset ) : void
$asset Neos\Media\Domain\Model\AssetInterface
리턴 void

registerNodeChange() 공개 메소드

Register a node change for a later cache flush. This method is triggered by a signal sent via ContentRepository's Node model or the Neos Publishing Service.
public registerNodeChange ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface The node which has changed in some way
리턴 void

shutdownObject() 공개 메소드

Flush caches according to the previously registered node changes.
public shutdownObject ( ) : void
리턴 void

프로퍼티 상세

$assetService 보호되어 있는 프로퍼티

protected AssetService,Neos\Media\Domain\Service $assetService
리턴 Neos\Media\Domain\Service\AssetService

$contentCache 보호되어 있는 프로퍼티

protected ContentCache,Neos\Fusion\Core\Cache $contentCache
리턴 Neos\Fusion\Core\Cache\ContentCache

$systemLogger 보호되어 있는 프로퍼티

protected SystemLoggerInterface,Neos\Flow\Log $systemLogger
리턴 Neos\Flow\Log\SystemLoggerInterface

$tagsToFlush 보호되어 있는 프로퍼티

protected array $tagsToFlush
리턴 array