Class

Symfony\Component\Finder\Iterator\DateRangeFilterIterator

class DateRangeFilterIterator extends FilterIterator

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

Methods

__construct(Iterator $iterator, array $comparators)

Constructor.

Boolean accept()

Filters the iterator values.

Details

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

Constructor.

Parameters

Iterator $iterator The Iterator to filter
array $comparators An array of \DateCompare instances

at line 41
public Boolean accept()

Filters the iterator values.

Return Value

Boolean true if the value should be kept, false otherwise