You are here

public function LocalStream::dir_readdir in System stream wrapper 8

Support for readdir().

Return value

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

Overrides PhpStreamWrapperInterface::dir_readdir

See also

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

File

src/StreamWrapper/LocalStream.php, line 455

Class

LocalStream
Defines a Drupal stream wrapper base class for local files.

Namespace

Drupal\system_stream_wrapper\StreamWrapper

Code

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