MediaWiki  REL1_20
ObjectFileCache.php
Go to the documentation of this file.
00001 <?php
00029 class ObjectFileCache extends FileCacheBase {
00036         public static function newFromKey( $key, $type ) {
00037                 $cache = new self();
00038 
00039                 $cache->mKey = (string)$key;
00040                 $cache->mType = (string)$type;
00041 
00042                 return $cache;
00043         }
00044 
00049         protected function cacheDirectory() {
00050                 return $this->baseCacheDirectory() . '/object';
00051         }
00052 }