Beispiel #1
0
 /**
  * Returns a fluent iterator that applies function to each element of this fluent iterator.
  * @param $function
  * @return $this
  */
 public function map($function)
 {
     $this->iterator = Iterators::map($this->iterator, $function);
     return $this;
 }