## Dir基类扩展函数
//复制目录
Dir::copy(string $from, string $to, bool $force = true) : void
// 移动目录, 文件
Dir::move(string $from, string $to, bool $force = true) : void
// 通过文件相关时间删除文件
Dir::deleteAllFileByTime(string $dir, string $type, int $expire = 3600, string $extension = '', string $prefix = '') : void
// 通过文件名称删除文件
Dir::deleteAllFileByType(string $dir, string $type, string $prefix = '') : void
// 根据类型获取指定目录下所有对应文件
Dir::getAllDir(string $dir) : array
// 根据类型获取指定目录下所有对应文件
Dir::getAllFile(string $dir) : array
// 根据类型获取指定目录下所有对应文件
Dir::getAllFileByType(string $dir, string $type = '*', string $prefix = '') : array
// 得到当前目录列表
Dir::getDirList(string $dir, bool $absolute = false) : array
// 得到当前目录列表
Dir::getFileList(string $dir, bool $absolute = false) : array
// 得到当前目录列表
Dir::getList(string $dir, string $type = 'all', bool $absolute = false) : array
Dir::getSize(string $dir, bool $round = true, bool $unit = true)
Dir::rename(string $old_path, string $new_path, bool $force = true) : void
// 清空目录
Dir::empty(string $dir, bool $force = true) : void
// 目录是否为空
Dir::isEmpty(string $dir) : bool



