class FilenameFilterIterator extends MultiplePcreFilterIterator
FilenameFilterIterator filters files by patterns (a regexp, a glob, or a string).
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(Iterator $iterator, array $matchPatterns, array $noMatchPatterns) Constructor. | from MultiplePcreFilterIterator | |
bool | accept() Filters the iterator values. |
Details
rewind()
This is a workaround for the problem with \FilterIterator leaving inner \FilesystemIterator in wrong state after rewind in some cases.
__construct(Iterator $iterator, array $matchPatterns, array $noMatchPatterns)
Constructor.
bool accept()
Filters the iterator values.
Please login to continue.