Метод |
Описание |
|
__construct ( array $paths, array $ignorePaths = [], array $extensions = ['php'] ) |
Append paths to iterator |
|
addExtensions ( array $extensions ) : void |
Add list of file extensions to include when scanning dirs |
|
addIgnorePath ( string $path ) : void |
Add a path to the list of ignored paths |
|
addPath ( string $path ) : void |
Add a path to iterator |
|
count ( ) : integer |
Return a count of files in iterator |
|
getIterator ( ) : ArrayIterator |
Get iterator whith file paths as keys and File objects as values |
|
getPaths ( ) : array |
Get the full paths for the current files |
|
toArray ( ) : array |
Convert the interator to an array (return current files) |
|