public function rewind()
    {
        if ($this->_index === 0 && !$this->_started) {
            $this->_started = true;
            parent::rewind();

            return;
        }

        $this->_index = 0;
    }
public function rewind()
    {
        if ($this->_index === 0 && !$this->_started) {
            $this->_started = true;
            parent::rewind();

            return;
        }

        $this->_index = 0;
    }
public function rewind ( ) { if ( $ this -> _index === 0 && ! $ this -> _started ) { $ this -> _started = true ; parent :: rewind ( ) ; return ; } $ this -> _index = 0 ; }
Rewinds the collection

@return void
Rewinds the collection