\Symfony\Component\Finder\IteratorSizeRangeFilterIterator

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

Summary

Methods
Properties
Constants
__construct()
accept()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$comparators
N/A

Properties

$comparators

$comparators : 

Type

Methods

__construct()

__construct(\Iterator  $iterator, array<mixed,\Symfony\Component\Finder\Comparator\NumberComparator>  $comparators) 

Parameters

\Iterator $iterator

The Iterator to filter

array<mixed,\Symfony\Component\Finder\Comparator\NumberComparator> $comparators

An array of NumberComparator instances

accept()

accept() : boolean

Filters the iterator values.

Returns

boolean —

true if the value should be kept, false otherwise