public function __construct(IGenerator $outerIterator, IGenerator $innerIterator) { parent::__construct($outerIterator); self::__constructIterator(); $this->outerIterator =& $this->iterator; $this->innerIterator = $innerIterator; }
public function __construct(IGenerator $outerIterator, IGenerator $innerIterator, callable $filter) { parent::__construct($outerIterator, $innerIterator); self::__constructJoinOnIterator($filter); }