Class \Prado\Caching\TChainedCacheDependency
TChainedCacheDependency class.
TChainedCacheDependency represents a list of cache dependency objects and performs the dependency checking based on the checking results of these objects. If any of them reports a dependency change, TChainedCacheDependency will return true for the checking.
To add dependencies to TChainedCacheDependency, use Dependencies which gives a TCacheDependencyList instance and can be used like an array (see TList for more details).
Class hierarchy
- \Prado\Caching\TChainedCacheDependency
- \Prado\Caching\TCacheDependency implements ICacheDependency
- \Prado\TComponent
Since: 3.1.0
public
|
|
public
|
getHasChanged() : bool
Performs the actual dependency checking.
This method returns true if any of the dependency objects reports a dependency change. |
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |