Abstract Class Symfony\Component\Finder\Iterator\FilterIterator

InheritanceSymfony\Component\Finder\Iterator\FilterIterator » FilterIterator
SubclassesSymfony\Component\Finder\Iterator\CustomFilterIterator, Symfony\Component\Finder\Iterator\DateRangeFilterIterator, Symfony\Component\Finder\Iterator\DepthRangeFilterIterator, Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator, Symfony\Component\Finder\Iterator\FileTypeFilterIterator, Symfony\Component\Finder\Iterator\FilecontentFilterIterator, Symfony\Component\Finder\Iterator\FilenameFilterIterator, Symfony\Component\Finder\Iterator\MultiplePcreFilterIterator, Symfony\Component\Finder\Iterator\PathFilterIterator, Symfony\Component\Finder\Iterator\SizeRangeFilterIterator

This iterator just overrides the rewind method in order to correct a PHP bug, which existed before version 5.5.23/5.6.7.

See also https://bugs.php.net/68557.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
rewind() This is a workaround for the problem with \FilterIterator leaving inner \FilesystemIterator in wrong state after rewind in some cases. Symfony\Component\Finder\Iterator\FilterIterator

Method Details

rewind() public method

This is a workaround for the problem with \FilterIterator leaving inner \FilesystemIterator in wrong state after rewind in some cases.

See also Symfony\Component\Finder\Iterator\FilterIterator::rewind().

public void rewind ( )