blob: 4a81b714c1c25db4245ceab47d03477b1ef09cdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<?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 Prado\Caching
*/
namespace Prado\Caching;
/**
* 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 Prado\Caching
* @since 3.0
*/
interface ICacheDependency
{
/**
* @return boolean whether the dependency has changed. Defaults to false.
*/
public function getHasChanged();
}
|