
Public Member Functions | |
| __construct (spunQ_ICache $cache) | |
| Constructor. | |
| store ($key, $value, $timeout=0) | |
| retrieve ($key, &$value) | |
| invalidate ($key) | |
| clear () | |
| getCache () | |
| Returns the underlying cache object. | |
Protected Attributes | |
| $cache | |
| The cache to provide interface for. | |
Using the simple functions in the spunQ_ICache interface may not always be convenient. Cache interfaces provide different means of accessing the contents of the cache (see extending classes for examples). It further implements the same interface to allow usage of the wrapped cache object.
Definition at line 10 of file CacheInterface.class.php.
| spunQ_CacheInterface::__construct | ( | spunQ_ICache $ | cache | ) |
Constructor.
| $cache | The cache to provide interface for. |
Definition at line 22 of file CacheInterface.class.php.
| spunQ_CacheInterface::getCache | ( | ) |
Returns the underlying cache object.
Definition at line 61 of file CacheInterface.class.php.
spunQ_CacheInterface::$cache [protected] |
The cache to provide interface for.
Definition at line 16 of file CacheInterface.class.php.
1.5.9