Available on php
The Filesystem iterator.
See also:
https://www.php.net/manual/en/class.filesystemiterator.php
@:phpClassConststaticfinalread onlyCURRENT_AS_FILEINFO:Int
@:phpClassConststaticfinalread onlyCURRENT_AS_PATHNAME:Int
@:phpClassConststaticfinalread onlyCURRENT_AS_SELF:Int
@:phpClassConststaticfinalread onlyCURRENT_MODE_MASK:Int
@:phpClassConststaticfinalread onlyFOLLOW_SYMLINKS:Int
@:phpClassConststaticfinalread onlyKEY_AS_FILENAME:Int
@:phpClassConststaticfinalread onlyKEY_AS_PATHNAME:Int
@:phpClassConststaticfinalread onlyKEY_MODE_MASK:Int
@:phpClassConststaticfinalread onlyNEW_CURRENT_AND_KEY:Int
@:phpClassConststaticfinalread onlySKIP_DOTS:Int
@:phpClassConststaticfinalread onlyUNIX_PATHS:Int
new(directory:String, ?flags:Int)
getFlags():Int
setFlags(flags:Int):Void
isDot():Bool
next():Void
rewind():Void
seek(offset:Int):Void
valid():Bool
getATime():EitherType<Int, Bool>
@:value({ suffix : "" })getBasename(suffix:String = ""):String
getCTime():EitherType<Int, Bool>
getExtension():String
getFileInfo(?className:String):SplFileInfo
getFilename():String
getGroup():EitherType<Int, Bool>
getInode():EitherType<Int, Bool>
getLinkTarget():EitherType<String, Bool>
getMTime():EitherType<Int, Bool>
getOwner():EitherType<Int, Bool>
getPath():String
getPathInfo(?className:String):Null<SplFileInfo>
getPathname():String
getPerms():EitherType<Int, Bool>
getRealPath():EitherType<String, Bool>
getSize():EitherType<Int, Bool>
getType():EitherType<SplFileInfoType, Bool>
isDir():Bool
isExecutable():Bool
isFile():Bool
isLink():Bool
isReadable():Bool
isWritable():Bool
@:value({ useIncludePath : false, mode : "r" })openFile(mode:String = "r", useIncludePath:Bool = false, ?context:Resource):SplFileObject
setFileClass(?className:String):Void
setInfoClass(?className:String):Void