class SizeRangeFilterIterator extends FilterIterator

SizeRangeFilterIterator filters out files that are not in the given size range.

Methods

__construct(Iterator $iterator, array $comparators)

No description

bool
accept()

Filters the iterator values.

Details

at line 29
__construct(Iterator $iterator, array $comparators)

Parameters

Iterator $iterator The Iterator to filter
array $comparators An array of NumberComparator instances

at line 41
bool accept()

Filters the iterator values.

Return Value

bool true if the value should be kept, false otherwise