public function doRewind() { $this->count = 0; $this->outerIterator->rewind(); $this->innerIterator = new EmptyIterator(); }