Symfony\Component\Finder\Iterator\SizeRangeFilterIterator
SizeRangeFilterIterator filters out files that are not in the given size range.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class SizeRangeFilterIterator
extends FilterIterator
{
- // members
- private array $comparators;
- // methods
- public void __construct()
- public Boolean accept()
- // Inherited methods from FilterIterator
- 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
Members
private
- $comparators
Methods
public
- __construct() — Constructor.
- accept() — Filters the iterator values.
Inherited from Symfony\Component\Finder\Iterator\FilterIterator
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