DirectoryListing final class
Minn\Support\DirectoryListing · public/minn/src/Minn/Support/DirectoryListing.php · 34 lines
Walks a directory the way the filesystem API lists it: named entries, dot entries skipped, hidden ones optional, recursion optional.
Public
| static | read(string $path, bool $includeHidden, bool $recursive, ?string $onlyName, callable $describe): array|false# | A directory's entries described one by one, or false when unreadable.
@return array<string, array<string, mixed>>|false false when the path is not a readable directory |
Nothing matches.