Definition cache decorator class that cleans up the cache whenever there is a cache miss.
More...
|
| copy () |
|
| add ($def, $config) |
|
| set ($def, $config) |
|
| replace ($def, $config) |
|
| get ($config) |
|
| __construct () |
|
| decorate (&$cache) |
| Lazy decorator function. More...
|
|
| copy () |
| Cross-compatible clone substitute. More...
|
|
| add ($def, $config) |
|
| set ($def, $config) |
|
| replace ($def, $config) |
|
| get ($config) |
|
| remove ($config) |
|
| flush ($config) |
|
| cleanup ($config) |
|
| __construct ($type) |
|
| generateKey ($config) |
| Generates a unique identifier for a particular configuration. More...
|
|
| isOld ($key, $config) |
| Tests whether or not a key is old with respect to the configuration's version and revision number. More...
|
|
| checkDefType ($def) |
| Checks if a definition's type jives with the cache's type. More...
|
|
| add ($def, $config) |
| Adds a definition object to the cache. More...
|
|
| set ($def, $config) |
| Unconditionally saves a definition object to the cache. More...
|
|
| replace ($def, $config) |
| Replace an object in the cache. More...
|
|
| get ($config) |
| Retrieves a definition object from the cache. More...
|
|
| remove ($config) |
| Removes a definition object to the cache. More...
|
|
| flush ($config) |
| Clears all objects from cache. More...
|
|
| cleanup ($config) |
| Clears all expired (older version or revision) objects from cache. More...
|
|
Definition cache decorator class that cleans up the cache whenever there is a cache miss.
Definition at line 7 of file Cleanup.php.