public function rewind() { if ($this->_count !== null && $this->_connection->isConnected()) { $this->_connection->disconnect(); } $this->_count = null; $this->_current = 0; }