You are here

public function S3fsStream::stream_eof in S3 File System 8.2

Support for feof().

Return value

bool TRUE if end-of-file has been reached. Otherwise, FALSE.

Overrides PhpStreamWrapperInterface::stream_eof

See also

http://php.net/manual/en/streamwrapper.stream-eof.php

File

src/StreamWrapper/S3fsStream.php, line 635

Class

S3fsStream
Defines a Drupal s3fs (s3fs://) stream wrapper class.

Namespace

Drupal\s3fs\StreamWrapper

Code

public function stream_eof() {
  $this
    ->_debug("stream_eof() called for {$this->uri}.");
  return $this->body
    ->eof();
}