SizeRangeFilterIterator
extends FilterIterator
in package
SizeRangeFilterIterator filters out files that are not in the given size range.
Tags
Table of Contents
Properties
- $comparators : array<string|int, mixed>
Methods
- __construct() : mixed
- accept() : bool
- Filters the iterator values.
Properties
$comparators
private
array<string|int, mixed>
$comparators
= []
Methods
__construct()
public
__construct(Iterator<string, SplFileInfo> $iterator, array<string|int, NumberComparator> $comparators) : mixed
Parameters
- $iterator : Iterator<string, SplFileInfo>
- $comparators : array<string|int, NumberComparator>
accept()
Filters the iterator values.
public
accept() : bool