コード例 #1
0
ファイル: FileCache.php プロジェクト: mpoiriert/nucleus
 public function recoverEntry($name, $namespace)
 {
     $file = $this->getFile($name, $namespace);
     if (!$this->fileSystem->exists($file)) {
         return null;
     }
     return file_get_contents($file);
 }
コード例 #2
0
ファイル: FilePersister.php プロジェクト: mpoiriert/nucleus
 public function exists($path)
 {
     return $this->fileSystem->exists($this->rootDirectory . $path);
 }