Symfony\Component\Finder\Iterator\FilterIterator
This iterator just overrides the rewind method in order to correct a PHP bug.
- Author: Alex Bogomazov
Synopsis
class FilterIterator
extends FilterIterator
{
- // methods
- public void rewind()
- // Inherited methods from FilterIterator
- public bool accept()
- public void __construct()
- public mixed current()
- public Iterator getInnerIterator()
- public mixed key()
- public void next()
- public void rewind()
- public bool valid()
Hierarchy
Extends
Extended by
- Symfony\Component\Finder\Iterator\PathFilterIterator
- Symfony\Component\Finder\Iterator\DateRangeFilterIterator
- Symfony\Component\Finder\Iterator\MultiplePcreFilterIterator
- Symfony\Component\Finder\Iterator\FilenameFilterIterator
- Symfony\Component\Finder\Iterator\FilecontentFilterIterator
- Symfony\Component\Finder\Iterator\DepthRangeFilterIterator
- Symfony\Component\Finder\Iterator\FileTypeFilterIterator
- Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator
- Symfony\Component\Finder\Iterator\CustomFilterIterator
- Symfony\Component\Finder\Iterator\SizeRangeFilterIterator
Methods
public
- rewind() — This is a workaround for the problem with \FilterIterator leaving inner \FilesystemIterator in wrong state after rewind in some cases.
Inherited from FilterIterator
public
- accept() — Check whether the current element of the iterator is acceptable
- current() — Get the current element value
- getInnerIterator() — Get the inner iterator
- key() — Get the current key
- next() — Move the iterator forward
- rewind() — Rewind the iterator
- valid() — Check whether the current element is valid