DateRangeFilterIterator
extends FilterIterator
in package
DateRangeFilterIterator filters out files that are not in the given date range (last modified dates).
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, DateComparator> $comparators) : mixed
Parameters
- $iterator : Iterator<string, SplFileInfo>
- $comparators : array<string|int, DateComparator>
accept()
Filters the iterator values.
public
accept() : bool