コード例 #1
0
 public function __construct($cachePath, $filePath)
 {
     parent::__construct($cachePath);
     $this->registry = array();
     $this->filePath = $filePath;
     $this->registry = $this->loadCacheFile();
     $this->cacheChanged = false;
 }
コード例 #2
0
 function __construct($cachePath, $baseDir = DIRECTORY_SEPARATOR)
 {
     parent::__construct($cachePath);
     $this->baseDir = $baseDir;
     $this->baseDirLength = strlen($baseDir);
 }