class DepthRangeFilterIterator extends FilterIterator
DepthRangeFilterIterator limits the directory depth.
Methods
|
rewind()
This is a workaround for the problem with \FilterIterator leaving inner \FilesystemIterator in wrong state after rewind in some cases. |
from FilterIterator | |
|
__construct(RecursiveIteratorIterator $iterator, int $minDepth, int $maxDepth = PHP_INT_MAX)
Constructor. |
||
| Boolean |
accept()
Filters the iterator values. |
Details
in FilterIterator at line 29
public
rewind()
This is a workaround for the problem with \FilterIterator leaving inner \FilesystemIterator in wrong state after rewind in some cases.
at line 30
public
__construct(RecursiveIteratorIterator $iterator, int $minDepth, int $maxDepth = PHP_INT_MAX)
Constructor.
at line 43
public Boolean
accept()
Filters the iterator values.