autoframe/components-filesystem

Autoframe 核心文件系统工具框架

2.0.4 2023-11-06 09:49 UTC

This package is auto-updated.

Last update: 2024-09-06 11:48:51 UTC


README

Build Status License: MIT Packagist Version Downloads

PHP 文件系统工具,如“循环”、“遍历”、“版本控制”、“编码”、“Base64”、“Mime”等

命名空间

  • Autoframe\Component\FileSystem

单例类

  • AfrFileSystemCollectionClass(包含下一个类的所有方法)

  • AfrDirPathClass

    • isDir
    • openDir
    • detectDirectorySeparatorFromPath
    • getApplicableSlashStyle
    • removeFinalSlash
    • addFinalSlash
    • makeUniformSlashStyle
    • correctPathFormat
    • simplifyAbsolutePath
    • fixDs
  • AfrBase64InlineDataClass

    • getBase64InlineData
  • AfrOverWriteClass

    • overWriteFile
  • AfrDirTraversingCollectionClass(所有遍历方法)

  • AfrDirTraversingCountChildrenDirsClass

    • countAllChildrenDirs
  • AfrDirTraversingFileListClass

    • getDirFileList
  • AfrDirTraversingGetAllChildrenDirsClass

    • getAllChildrenDirs
  • AfrDirMaxFileMtimeClass

    • getDirMaxFileMtime
  • AfrFileVersioningMtimeHashClass

    • fileVersioningMtimeHash
  • AfrSplitMergeClass

    • AfrSplitMergeInterface
  • AfrSplitMergeCopyDirClass

    • AfrSplitMergeCopyDirInterface

包含

  • 特质(如果单例不足以嵌入到类中,则可以使用)
  • 接口