public function S3fsStream::dir_readdir in S3 File System 8.2
Same name and namespace in other branches
- 8.3 src/StreamWrapper/S3fsStream.php \Drupal\s3fs\StreamWrapper\S3fsStream::dir_readdir()
- 4.0.x src/StreamWrapper/S3fsStream.php \Drupal\s3fs\StreamWrapper\S3fsStream::dir_readdir()
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/en/streamwrapper.dir-readdir.php
File
- src/
StreamWrapper/ S3fsStream.php, line 1066
Class
- S3fsStream
- Defines a Drupal s3fs (s3fs://) stream wrapper class.
Namespace
Drupal\s3fs\StreamWrapperCode
public function dir_readdir() {
$this
->_debug("dir_readdir() called.");
$entry = each($this->dir);
return $entry ? $entry['value'] : FALSE;
}