diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-20 23:53:59 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-20 23:53:59 +0100 |
commit | bbda6a710849a46de98937e85e96ea06abe333fd (patch) | |
tree | 8325563cd0e406f1f6347dc8ad29560240d16430 /framework/ICacheDependency.php | |
parent | ca22da21b0cedab985e698f4dedf3ac1158a1487 (diff) |
Once class per file: framework/*.php; removed pradolite
Diffstat (limited to 'framework/ICacheDependency.php')
-rw-r--r-- | framework/ICacheDependency.php | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/framework/ICacheDependency.php b/framework/ICacheDependency.php new file mode 100644 index 00000000..c584e891 --- /dev/null +++ b/framework/ICacheDependency.php @@ -0,0 +1,30 @@ +<?php +/** + * Core interfaces essential for TApplication class. + * + * @author Qiang Xue <qiang.xue@gmail.com> + * @link http://www.pradosoft.com/ + * @copyright Copyright © 2005-2014 PradoSoft + * @license http://www.pradosoft.com/license/ + * @package System + */ + +/** + * ICacheDependency interface. + * + * This interface must be implemented by classes meant to be used as + * cache dependencies. + * + * Classes implementing this interface must support serialization and unserialization. + * + * @author Qiang Xue <qiang.xue@gmail.com> + * @package System + * @since 3.0 + */ +interface ICacheDependency +{ + /** + * @return boolean whether the dependency has changed. Defaults to false. + */ + public function getHasChanged(); +}
\ No newline at end of file |