next() публичный Метод

Advances the iterator to the next position.
public next ( )
Пример #1
0
 /**
  * {@inheritdoc}
  *
  * @internal
  */
 public function dir_readdir()
 {
     if (!$this->childIterator->valid()) {
         return false;
     }
     $name = $this->childIterator->current();
     $this->childIterator->next();
     return $name;
 }