Method | Description | |
---|---|---|
__construct ( string $rootDirectory, array $includePaths = [], array $excludePaths = [] ) | Initializes an enumerator | |
enumerate ( ) : CallbackFilterIterator | RecursiveIteratorIterator | SplFileInfo[] | Returns an enumerator for files | |
getFilter ( ) : Closure | Returns a filter callback for enumerating files |
Method | Description | |
---|---|---|
getFileFullPath ( SplFileInfo $file ) : string | Return the real path of the given file |
public enumerate ( ) : CallbackFilterIterator | RecursiveIteratorIterator | SplFileInfo[] | ||
return | CallbackFilterIterator | RecursiveIteratorIterator | SplFileInfo[] |
protected getFileFullPath ( SplFileInfo $file ) : string | ||
$file | SplFileInfo | |
return | string |