PHP Interface Pinq\Interfaces\IOrderedTraversable

Author: Elliot Levin ([email protected])
Inheritance: extends Pinq\ITraversable
Datei anzeigen Open project: timetoogo/pinq

Public Methods

Method Description
thenBy ( callable $function, integer $direction ) : Pinq\Interfaces\IOrderedTraversable Subsequently orders the results using the supplied function according to the supplied direction
thenByAscending ( callable $function ) : Pinq\Interfaces\IOrderedTraversable Subsequently orders the results using the supplied function ascendingly
thenByDescending ( callable $function ) : Pinq\Interfaces\IOrderedTraversable Subsequently orders the results using the supplied function descendingly

Method Details

thenBy() public method

Subsequently orders the results using the supplied function according to the supplied direction
public thenBy ( callable $function, integer $direction ) : Pinq\Interfaces\IOrderedTraversable
$function callable
$direction integer
return Pinq\Interfaces\IOrderedTraversable

thenByAscending() public method

Subsequently orders the results using the supplied function ascendingly
public thenByAscending ( callable $function ) : Pinq\Interfaces\IOrderedTraversable
$function callable
return Pinq\Interfaces\IOrderedTraversable

thenByDescending() public method

Subsequently orders the results using the supplied function descendingly
public thenByDescending ( callable $function ) : Pinq\Interfaces\IOrderedTraversable
$function callable
return Pinq\Interfaces\IOrderedTraversable