public function dir_readdir()
    {
        $dir = $this->dirIterator->current();
        if (null === $dir) {
            return false;
        }

        $this->dirIterator->next();
        return $dir->getName();
    }
public function dir_readdir()
    {
        $dir = $this->dirIterator->current();
        if (null === $dir) {
            return false;
        }

        $this->dirIterator->next();
        return $dir->getName();
    }
public function dir_readdir ( ) { $ dir = $ this -> dirIterator -> current ( ) ; if ( null === $ dir ) { return false ; } $ this -> dirIterator -> next ( ) ; return $ dir -> getName ( ) ; }
reads directory contents

@return  string|bool
reads directory contents