iterateFiles
Callable
Parameters
php: UniversalPHP
The PHP instance.
root: string
The root directory to start iterating from.
options: IteratePhpFilesOptions = {}
Optional configuration.
Returns AsyncGenerator<File>
All files found in the tree.
The PHP instance.
The root directory to start iterating from.
Optional configuration.
All files found in the tree.
Iterates over all files in a php directory and its subdirectories.