function PhpStreamWrapperInterface::dir_readdir

Same name in other branches
  1. 9 core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::dir_readdir()
  2. 8.9.x core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::dir_readdir()
  3. 10 core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::dir_readdir()

Read entry from directory handle.

This method is called in response to readdir().

Return value

string|false Should return string representing the next filename, or FALSE if there is no next file. Note, the return value will be casted to string.

See also

readdir()

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

2 methods override PhpStreamWrapperInterface::dir_readdir()
DummyExternalReadOnlyWrapper::dir_readdir in core/modules/file/tests/file_test/src/StreamWrapper/DummyExternalReadOnlyWrapper.php
LocalStream::dir_readdir in core/lib/Drupal/Core/StreamWrapper/LocalStream.php

File

core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php, line 57

Class

PhpStreamWrapperInterface
Defines a generic PHP stream wrapper interface.

Namespace

Drupal\Core\StreamWrapper

Code

public function dir_readdir();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.