public function rewind()
    {
        $this->dir->rewind();
        $this->iter = 0;
        $this->hasNext();
        $this->cur_entry = $this->next_entry;
        $this->next_entry = null;
    }
public function rewind()
    {
        $this->dir->rewind();
        $this->iter = 0;
        $this->hasNext();
        $this->cur_entry = $this->next_entry;
        $this->next_entry = null;
    }
public function rewind ( ) { $ this -> dir -> rewind ( ) ; $ this -> iter = 0 ; $ this -> hasNext ( ) ; $ this -> cur_entry = $ this -> next_entry ; $ this -> next_entry = null ; }
Rewind the directory reader to the start
Rewind the directory reader to the start