MediaWiki  REL1_19
ObjectFileCache.php
Go to the documentation of this file.
00001 <?php
00007 class ObjectFileCache extends FileCacheBase {
00014         public static function newFromKey( $key, $type ) {
00015                 $cache = new self();
00016 
00017                 $cache->mKey = (string)$key;
00018                 $cache->mType = (string)$type;
00019 
00020                 return $cache;
00021         }
00022 
00027         protected function cacheDirectory() {
00028                 return $this->baseCacheDirectory() . '/object';
00029         }
00030 }