code: public function dir_rewinddir()
      {
          if (!$this->handle) {
              return false;
          }
          self::restorePrev();
          \rewinddir($this->handle);
          self::register();
          return true;
      }
docs: Reset directory name pointer
  
  @return boolean
  
  @see http://php.net/manual/en/streamwrapper.dir-rewinddir.php