public function AmazonS3StreamWrapper::stream_eof in AmazonS3 7
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
- ./
AmazonS3StreamWrapper.inc, line 551 - Drupal stream wrapper implementation for Amazon S3
Class
- AmazonS3StreamWrapper
- @file Drupal stream wrapper implementation for Amazon S3
Code
public function stream_eof() {
if (!$this->uri) {
return TRUE;
}
return $this->position >= $this->objectSize;
}