Exemple #1
0
 /**
  * reads directory contents
  *
  * @return  string
  */
 public function dir_readdir()
 {
     $dir = $this->dirIterator->current();
     if (null === $dir) {
         return false;
     }
     $this->dirIterator->next();
     return $dir->getName();
 }