3 * Contain the ObjectFileCache class
7 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;
24 * Get the base file cache directory
27 protected function cacheDirectory() {
28 return $this->baseCacheDirectory() . '/object';