FindMode uses ConstantsTrait
FileExtension
Enumeration class that defines various mode options to use in the findFiles function.
Tags
Table of Contents
Constants
- BOTH = 'both'
- List files and directories.
- DIRS = 'dirs'
- List directories only.
- FILES = 'files'
- List files only.
Constants
BOTH
List files and directories.
public
mixed
BOTH
= 'both'
DIRS
List directories only.
public
mixed
DIRS
= 'dirs'
FILES
List files only.
public
mixed
FILES
= 'files'