TCacheDependency class.
TCacheDependency is the base class implementing ICacheDependency interface. Descendant classes must implement getHasChanged() to provide actual dependency checking logic.
The property value of getHasChanged tells whether the dependency is changed or not.
You may disable the dependency checking by setting setEnabled to false.
Note, since the dependency objects often need to be serialized so that they can persist across requests, you may need to implement __sleep() and __wakeup() if the dependency objects contain resource handles which are not serializable.
Currently, the following dependency classes are provided in the PRADO release: