public function __construct(IIterator $iterator, callable $orderByFunction, $isAscending) { parent::__construct($iterator); self::__constructIterator($orderByFunction, $isAscending); }
public function __construct(IIterator $iterator, callable $groupKeyFunction, callable $traversableFactory) { parent::__construct($iterator); self::__constructIterator($groupKeyFunction, $traversableFactory); }