예제 #1
0
파일: Dearchiver.php 프로젝트: apolev/fias
 private static function checkPaths($pathToFileDirectory, $pathToFile)
 {
     FileHelper::ensureIsReadable($pathToFile);
     FileHelper::ensureIsDirectory($pathToFileDirectory);
     FileHelper::ensureIsWritable($pathToFileDirectory);
 }
예제 #2
0
파일: Directory.php 프로젝트: apolev/fias
 public function __construct($path)
 {
     FileHelper::ensureIsReadable($path);
     FileHelper::ensureIsDirectory($path);
     $this->directoryPath = $path;
 }