示例#1
0
 /**
  * Returns a fluent iterator returning the first $number elements of of this fluent iterator.
  * @param $number
  * @return $this
  */
 public function limit($number)
 {
     $this->iterator = Iterators::limit($this->iterator, $number);
     return $this;
 }