PHP 클래스 Neos\Flow\Monitor\ChangeDetectionStrategy\ModificationTimeStrategy

상속: implements Neos\Flow\Monitor\ChangeDetectionStrategy\ChangeDetectionStrategyInterface, implements Neos\Flow\Monitor\ChangeDetectionStrategy\StrategyWithMarkDeletedInterface
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$cache Neos\Cache\Frontend\StringFrontend
$fileMonitor Neos\Flow\Monitor\FileMonitor
$filesAndModificationTimes array
$modificationTimesChanged boolean If the modification times changed and therefore need to be cached

공개 메소드들

메소드 설명
getFileStatus ( string $pathAndFilename ) : integer Checks if the specified file has changed
injectCache ( StringFrontend $cache ) : void Injects the Flow_Monitor cache
setFileDeleted ( string $pathAndFilename ) : void Notify the change strategy that this file was deleted and does not need to be tracked anymore.
setFileMonitor ( FileMonitor $fileMonitor ) : void Initializes this strategy
shutdownObject ( ) : void Caches the file modification times

메소드 상세

getFileStatus() 공개 메소드

Checks if the specified file has changed
public getFileStatus ( string $pathAndFilename ) : integer
$pathAndFilename string
리턴 integer One of the STATUS_* constants

injectCache() 공개 메소드

Injects the Flow_Monitor cache
public injectCache ( StringFrontend $cache ) : void
$cache Neos\Cache\Frontend\StringFrontend
리턴 void

setFileDeleted() 공개 메소드

Notify the change strategy that this file was deleted and does not need to be tracked anymore.
public setFileDeleted ( string $pathAndFilename ) : void
$pathAndFilename string
리턴 void

setFileMonitor() 공개 메소드

Initializes this strategy
public setFileMonitor ( FileMonitor $fileMonitor ) : void
$fileMonitor Neos\Flow\Monitor\FileMonitor
리턴 void

shutdownObject() 공개 메소드

Caches the file modification times
public shutdownObject ( ) : void
리턴 void

프로퍼티 상세

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

protected StringFrontend,Neos\Cache\Frontend $cache
리턴 Neos\Cache\Frontend\StringFrontend

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

protected FileMonitor,Neos\Flow\Monitor $fileMonitor
리턴 Neos\Flow\Monitor\FileMonitor

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

protected array $filesAndModificationTimes
리턴 array

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

If the modification times changed and therefore need to be cached
protected bool $modificationTimesChanged
리턴 boolean