public function __construct(IGenerator $iterator, $defaultValue, $defaultKey) { parent::__construct($iterator); self::__constructIterator($defaultValue, $defaultKey); }