Storage/src/StreamWrapper.php
public function dir_readdir()
    {
        $object = $this->directoryIterator->current();
        if ($object) {
            $this->directoryIterator->next();
            return $object->name();
        }

        return false;
    }
public function dir_readdir()
    {
        $object = $this->directoryIterator->current();
        if ($object) {
            $this->directoryIterator->next();
            return $object->name();
        }

        return false;
    }
public function dir_readdir ( ) { $ object = $ this -> directoryIterator -> current ( ) ; if ( $ object ) { $ this -> directoryIterator -> next ( ) ; return $ object -> name ( ) ; } return false ; }
Callback handler for reading an entry from a directory handle.

@return string|bool
Callback handler for reading an entry from a directory handle .