ChangeDetectionStrategyInterface
interface ChangeDetectionStrategyInterface (View source)
Contract for a change detection strategy
Constants
STATUS_UNCHANGED |
|
STATUS_CREATED |
|
STATUS_CHANGED |
|
STATUS_DELETED |
|
Methods
int
getFileStatus(string $pathAndFilename)
Checks if the specified file has changed
mixed
void
shutdownObject()
Commit any necessary data, like the current modification time.
Details
int
getFileStatus(string $pathAndFilename)
Checks if the specified file has changed
mixed
setFileMonitor(FileMonitor $fileMonitor)
Creates a link to the file monitor using the strategy
void
shutdownObject()
Commit any necessary data, like the current modification time.