\Symfony\Component\Finder\IteratorDateRangeFilterIterator

DateRangeFilterIterator filters out files that are not in the given date range (last modified dates).

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\DateComparator>  $comparators) 

Parameters

\Iterator $iterator

The Iterator to filter

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

An array of DateComparator instances

accept()

accept() : boolean

Filters the iterator values.

Returns

boolean —

true if the value should be kept, false otherwise