public function S3fsStream::dir_readdir in S3 File System 8.3
Same name and namespace in other branches
- 8.2 src/StreamWrapper/S3fsStream.php \Drupal\s3fs\StreamWrapper\S3fsStream::dir_readdir()
- 4.0.x src/StreamWrapper/S3fsStream.php \Drupal\s3fs\StreamWrapper\S3fsStream::dir_readdir()
Return value
string
Overrides PhpStreamWrapperInterface::dir_readdir
File
- src/
StreamWrapper/ S3fsStream.php, line 1127
Class
- S3fsStream
- Defines a Drupal s3 (s3://) stream wrapper class.
Namespace
Drupal\s3fs\StreamWrapperCode
public function dir_readdir() {
// phpcs:enable
$current = current($this->dir);
if ($current) {
next($this->dir);
}
return $current;
}