35               $config->getBatchSerial($this->type) . 
',' .
 
   36               $config->get($this->type . 
'.DefinitionRev');
 
   48        if (substr_count(
$key, 
',') < 2) {
 
   51        list(
$version, $hash, $revision) = explode(
',', 
$key, 3);
 
   58        if ($hash == 
$config->getBatchSerial($this->type) &&
 
   59            $revision < $config->
get($this->type . 
'.DefinitionRev')) {
 
   73        if (
$def->type !== $this->type) {
 
   74            trigger_error(
"Cannot use definition of type {$def->type} in cache for {$this->type}");
 
An exception for terminatinating execution or to throw for unit testing.
Abstract class representing Definition cache managers that implements useful common methods and is a ...
replace($def, $config)
Replace an object in the cache.
checkDefType($def)
Checks if a definition's type jives with the cache's type.
isOld($key, $config)
Tests whether or not a key is old with respect to the configuration's version and revision number.
flush($config)
Clears all objects from cache.
add($def, $config)
Adds a definition object to the cache.
generateKey($config)
Generates a unique identifier for a particular configuration.
cleanup($config)
Clears all expired (older version or revision) objects from cache.