PHP Interface Neos\Flow\Monitor\ChangeDetectionStrategy\ChangeDetectionStrategyInterface

显示文件 Open project: neos/flow-development-collection Interface Usage Examples

Public Methods

Method Description
getFileStatus ( string $pathAndFilename ) : integer Checks if the specified file has changed
setFileMonitor ( FileMonitor $fileMonitor ) : mixed Creates a link to the file monitor using the strategy
shutdownObject ( ) : void Commit any necessary data, like the current modification time.

Method Details

getFileStatus() public method

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

setFileMonitor() public method

Creates a link to the file monitor using the strategy
public setFileMonitor ( FileMonitor $fileMonitor ) : mixed
$fileMonitor Neos\Flow\Monitor\FileMonitor
return mixed

shutdownObject() public method

Commit any necessary data, like the current modification time.
public shutdownObject ( ) : void
return void