Support for readdir().

Return value

The next filename, or FALSE if there are no more files in the directory.

Overrides StreamWrapperInterface::dir_readdir

See also

http://php.net/manual/streamwrapper.dir-readdir.php

File

includes/stream_wrappers.inc, line 878
Drupal stream wrapper interface.

Class

DrupalLocalStreamWrapper
Drupal stream wrapper base class for local files.

Code

public function dir_readdir() {
  return readdir($this->handle);
}