Author: Elliot Levin (elliotlevin@hotmail.com)
Inheritance: extends IteratorGenerator
コード例 #1
0
ファイル: GroupedIterator.php プロジェクト: timetoogo/pinq
 public function __construct(IGenerator $iterator, callable $groupByFunction, callable $traversableFactory)
 {
     parent::__construct($iterator);
     self::__constructIterator($groupByFunction, $traversableFactory);
 }
コード例 #2
0
ファイル: OrderedIterator.php プロジェクト: timetoogo/pinq
 public function __construct(IGenerator $iterator, callable $orderByFunction, $isAscending)
 {
     parent::__construct($iterator);
     self::__constructIterator($orderByFunction, $isAscending);
 }