You are here

public function S3fsStreamWrapper::stream_eof in S3 File System 7

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

Support for feof().

Return value

bool TRUE if end-of-file has been reached.

Overrides StreamWrapperInterface::stream_eof

See also

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

File

./S3fsStreamWrapper.inc, line 644
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->params['Key']}.");
  return $this->body
    ->feof();
}