__construct() public method

public __construct ( Pinq\Iterators\Generators\IGenerator $iterator )
$iterator Pinq\Iterators\Generators\IGenerator
Esempio n. 1
0
 public function __construct(IGenerator $iterator, callable $groupByFunction, callable $traversableFactory)
 {
     parent::__construct($iterator);
     self::__constructIterator($groupByFunction, $traversableFactory);
 }
Esempio n. 2
0
 public function __construct(IGenerator $iterator, callable $orderByFunction, $isAscending)
 {
     parent::__construct($iterator);
     self::__constructIterator($orderByFunction, $isAscending);
 }