public function map($function) { $this->iterator = Iterators::map($this->iterator, $function); return $this; }