Documentation

File_Iterator_Factory
in package

Factory Method implementation that creates a File_Iterator that operates on an AppendIterator that contains an RecursiveDirectoryIterator for each given path.

Tags
since

Class available since Release 1.1.0

Table of Contents

getFileIterator()  : AppendIterator
getPathsAfterResolvingWildcards()  : array<string|int, mixed>

Methods

getFileIterator()

public getFileIterator(array<string|int, mixed>|string $paths[, array<string|int, mixed>|string $suffixes = '' ][, array<string|int, mixed>|string $prefixes = '' ][, array<string|int, mixed> $exclude = array() ]) : AppendIterator
Parameters
$paths : array<string|int, mixed>|string
$suffixes : array<string|int, mixed>|string = ''
$prefixes : array<string|int, mixed>|string = ''
$exclude : array<string|int, mixed> = array()
Return values
AppendIterator

getPathsAfterResolvingWildcards()

protected getPathsAfterResolvingWildcards(array<string|int, mixed> $paths) : array<string|int, mixed>
Parameters
$paths : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results