3 * Contain the ObjectFileCache class
7 abstract class ObjectFileCache
extends FileCacheBase
{
9 * Construct an ObjectFileCache from a key and a type
12 * @return ObjectFileCache
14 public static function newFromKey( $key, $type ) {
17 $cache->mKey
= (string)$key;
18 $cache->mType
= (string)$type;
19 $cache->mExt
= 'cache';
25 * Get the base file cache directory
28 protected function cacheDirectory() {
29 return $this->baseCacheDirectory() . '/object';