class ExcludeDirectoryFilterIterator extends FilterIterator implements RecursiveIterator

ExcludeDirectoryFilterIterator filters out directories.

Methods

__construct(Iterator $iterator, array $directories)

Constructor.

bool
accept()

Filters the iterator values.

hasChildren()

No description

getChildren()

No description

Details

at line line 32
__construct(Iterator $iterator, array $directories)

Constructor.

Parameters

Iterator $iterator The Iterator to filter
array $directories An array of directories to exclude

at line line 57
bool accept()

Filters the iterator values.

Return Value

bool True if the value should be kept, false otherwise

at line line 73
hasChildren()

at line line 78
getChildren()