return ($this->source->last() && $this->next == null);
}
+ public function first()
+ {
+ return $this->source->first();
+ }
+
// Called by a subiterator to "rewind" the core iterator
public function setNext($item)
{
return $this->over;
}
+ public function first()
+ {
+ return false;
+ }
+
}
// Wrapper class for 'arrayValueCallback' (get field $key of the given array)