|
| | getFilesAsArray ($paths, $suffixes='', $prefixes='', array $exclude=array(), $commonPath=FALSE) |
| |
Façade implementation that uses File_Iterator_Factory to create a File_Iterator that operates on an AppendIterator that contains an RecursiveDirectoryIterator for each given path. The list of unique files is returned as an array.
- Since
- Class available since Release 1.3.0
◆ getCommonPath()
| File_Iterator_Facade::getCommonPath |
( |
array |
$files | ) |
|
|
protected |
Returns the common path of a set of files.
- Parameters
-
- Returns
- string
◆ getFilesAsArray()
| File_Iterator_Facade::getFilesAsArray |
( |
|
$paths, |
|
|
|
$suffixes = '', |
|
|
|
$prefixes = '', |
|
|
array |
$exclude = array(), |
|
|
|
$commonPath = FALSE |
|
) |
| |
- Parameters
-
| array | string | $paths | |
| array | string | $suffixes | |
| array | string | $prefixes | |
| array | $exclude | |
| bool | $commonPath | |
- Returns
- array
The documentation for this class was generated from the following file:
- vendor/phpunit/php-file-iterator/src/Facade.php