PHP Класс phpstreams\operations\SortedOperation

This class yields its values sorted. Sort is done using the default asort() function, or uasort if a sorting function was given. Note that by the nature of sorting things, the entire previous source will be read into memory in order to sort it. This may be a performance issue.
Автор: Bert Peters ([email protected])
Наследование: extends phpstreams\Stream
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( $source, callable $sort = null )
getIterator ( )
isSorted ( )

Описание методов

__construct() публичный Метод

public __construct ( $source, callable $sort = null )
$sort callable

getIterator() публичный Метод

public getIterator ( )

isSorted() публичный Метод

public isSorted ( )