class PathFilterIterator extends MultiplePcreFilterIterator
PathFilterIterator filters files by path patterns (e.g.
some/special/dir).
rewind() This is a workaround for the problem with \FilterIterator leaving inner \FilesystemIterator in wrong state after rewind in some cases. | from FilterIterator | |
__construct(Iterator $iterator, array $matchPatterns, array $noMatchPatterns) Constructor. | from MultiplePcreFilterIterator | |
bool | accept() Filters the iterator values. |
This is a workaround for the problem with \FilterIterator leaving inner \FilesystemIterator in wrong state after rewind in some cases.
Constructor.
Filters the iterator values.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Component/Finder/Iterator/PathFilterIterator.html