/** * Rewind directory handle. * * This method is called in response to rewinddir(). * * Should reset the output generated by dir_readdir(). I.e.: The next call * to dir_readdir() should return the first entry in the location returned * by dir_opendir(). * * @return boolean TRUE on success or FALSE on failure. */ public function dir_rewinddir() { return $this->streamWrapper->rewindDirectory(); }