class SortableIterator implements IteratorAggregate

SortableIterator applies a sort on a given Iterator.

Constants

SORT_BY_NONE

SORT_BY_NAME

SORT_BY_TYPE

SORT_BY_ACCESSED_TIME

SORT_BY_CHANGED_TIME

SORT_BY_MODIFIED_TIME

SORT_BY_NAME_NATURAL

Methods

__construct(Traversable $iterator, $sort, bool $reverseOrder = false)

No description

getIterator()

No description

Details

at line 38
__construct(Traversable $iterator, $sort, bool $reverseOrder = false)

Parameters

Traversable $iterator
$sort
bool $reverseOrder

Exceptions

InvalidArgumentException

at line 83
getIterator()