__construct() public méthode

public __construct ( Pinq\Iterators\Generators\IGenerator $iterator )
$iterator Pinq\Iterators\Generators\IGenerator
Exemple #1
0
 public function __construct(IGenerator $outerIterator, IGenerator $innerIterator)
 {
     parent::__construct($outerIterator);
     self::__constructIterator();
     $this->outerIterator =& $this->iterator;
     $this->innerIterator = $innerIterator;
 }
 public function __construct(IGenerator $iterator, callable $keyProjectionFunction = null, callable $valueProjectionFunction = null)
 {
     parent::__construct($iterator);
     self::__constructIterator($keyProjectionFunction, $valueProjectionFunction);
 }
 public function __construct(IGenerator $iterator)
 {
     parent::__construct($iterator);
 }
Exemple #4
0
 public function __construct(IGenerator $iterator, $startAmount, $rangeAmount)
 {
     parent::__construct($iterator);
     self::__constructIterator($startAmount, $rangeAmount);
 }
Exemple #5
0
 public function __construct(IGenerator $iterator, $defaultValue, $defaultKey)
 {
     parent::__construct($iterator);
     self::__constructIterator($defaultValue, $defaultKey);
 }
 public function __construct(IGenerator $iterator, ISetFilter $setFilter)
 {
     parent::__construct($iterator);
     self::__constructIterator($setFilter);
 }
Exemple #7
0
 public function __construct(IGenerator $iterator, callable $filter)
 {
     parent::__construct($iterator);
     self::__constructIterator($filter);
 }