You are here

function StreamWrapper::stream_eof in X Autoload 7.4

Same name and namespace in other branches
  1. 7.5 tests/src/Filesystem/StreamWrapper.php \Drupal\xautoload\Tests\Filesystem\StreamWrapper::stream_eof()

Return value

bool

File

tests/lib/Filesystem/StreamWrapper.php, line 131

Class

StreamWrapper
Intercept calls to the filesystem, so we don't have to create fixture files.

Namespace

Drupal\xautoload\Tests\Filesystem

Code

function stream_eof() {
  return $this->position >= strlen($this->contents);
}