FindFileOption uses ConstantsTrait
Enumeration of the option keys accepted by the `findFiles` function.
Use FindFilesOption instead. This class is a thin, value-identical alias kept for backward compatibility: every constant simply mirrors its FindFilesOption counterpart. It will be removed in a future major release.
Tags
Table of Contents
Constants
- FILTER : string = \oihana\files\enums\FindFilesOption::FILTER
- The optional function to filter all files.
- FOLLOW_LINKS : string = \oihana\files\enums\FindFilesOption::FOLLOW_LINKS
- Indicates whether symbolic links should be followed.
- INCLUDE_DOTS : string = \oihana\files\enums\FindFilesOption::INCLUDE_DOTS
- Indicates if the dot files are included.
- MODE : string = \oihana\files\enums\FindFilesOption::MODE
- Filter mode ("files", "dirs" or "both").
- ORDER : string = \oihana\files\enums\FindFilesOption::ORDER
- The order of the file sorting : default 'asc' or 'desc'.
- PATTERN : string = \oihana\files\enums\FindFilesOption::PATTERN
- A pattern (a regexp, a glob, or a string) or an array of patterns.
- RECURSIVE : string = \oihana\files\enums\FindFilesOption::RECURSIVE
- Indicates if all sub-directories are browsed.
- SORT : string = \oihana\files\enums\FindFilesOption::SORT
- The optional sort option to sort all files.
Constants
FILTER
The optional function to filter all files.
public
string
FILTER
= \oihana\files\enums\FindFilesOption::FILTER
FOLLOW_LINKS
Indicates whether symbolic links should be followed.
public
string
FOLLOW_LINKS
= \oihana\files\enums\FindFilesOption::FOLLOW_LINKS
INCLUDE_DOTS
Indicates if the dot files are included.
public
string
INCLUDE_DOTS
= \oihana\files\enums\FindFilesOption::INCLUDE_DOTS
MODE
Filter mode ("files", "dirs" or "both").
public
string
MODE
= \oihana\files\enums\FindFilesOption::MODE
ORDER
The order of the file sorting : default 'asc' or 'desc'.
public
string
ORDER
= \oihana\files\enums\FindFilesOption::ORDER
PATTERN
A pattern (a regexp, a glob, or a string) or an array of patterns.
public
string
PATTERN
= \oihana\files\enums\FindFilesOption::PATTERN
RECURSIVE
Indicates if all sub-directories are browsed.
public
string
RECURSIVE
= \oihana\files\enums\FindFilesOption::RECURSIVE
SORT
The optional sort option to sort all files.
public
string
SORT
= \oihana\files\enums\FindFilesOption::SORT