You are here

public function S3fsStreamWrapper::stream_eof in S3 File System 7.2

Same name and namespace in other branches
  1. 7 S3fsStreamWrapper.inc \S3fsStreamWrapper::stream_eof()

Support for feof().

Return value

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

Overrides StreamWrapperInterface::stream_eof

See also

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

File

./S3fsStreamWrapper.inc, line 729
Drupal stream wrapper implementation for S3 File System.

Class

S3fsStreamWrapper
The stream wrapper class.

Code

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