示例#1
0
文件: fs.php 项目: noccy80/lepton-ng
 public function __construct($path)
 {
     parent::__construct($path);
     if (!$this->isDirectory()) {
         throw new FsException('"' . $path . '" is not a directory', FsException::ERR_NOT_A_DIR);
     }
 }