Exemple #1
0
 public function __construct($path)
 {
     parent::__construct($path);
     if (!$this->isDirectory()) {
         throw new FsException('"' . $path . '" is not a directory', FsException::ERR_NOT_A_DIR);
     }
 }