Class \Prado\Caching\TFileCacheDependency
TFileCacheDependency class.
TFileCacheDependency performs dependency checking based on the last modification time of the file specified via \Prado\Caching\setFileName. The dependency is reported as unchanged if and only if the file's last modification time remains unchanged.
Class hierarchy
- \Prado\Caching\TFileCacheDependency
- \Prado\Caching\TCacheDependency implements ICacheDependency
- \Prado\TComponent
Since: 3.1.0
public
|
|
public
|
|
public
|
getHasChanged() : bool
Performs the actual dependency checking.
This method returns true if the last modification time of the file is changed. |
public
|
|
public
|
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |