Storage/src/StreamWrapper.php
public function dir_rewinddir()
    {
        try {
            $this->directoryIterator = $this->bucket->objects([
                'prefix' => $this->file,
                'fields' => 'items/name,nextPageToken'
            ]);
        } catch (ServiceException $e) {
            return false;
        }
        return true;
    }
public function dir_rewinddir()
    {
        try {
            $this->directoryIterator = $this->bucket->objects([
                'prefix' => $this->file,
                'fields' => 'items/name,nextPageToken'
            ]);
        } catch (ServiceException $e) {
            return false;
        }
        return true;
    }
public function dir_rewinddir ( ) { try { $ this -> directoryIterator = $ this -> bucket -> objects ( [ 'prefix' => $ this -> file , 'fields' => 'items/name,nextPageToken' ] ) ; } catch ( ServiceException $ e ) { return false ; } return true ; }
Callback handler for rewind the directory handle.

@return bool
Callback handler for rewind the directory handle .