You are here

public function SeekableFileContent::readUntilEnd in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/content/SeekableFileContent.php \org\bovigo\vfs\content\SeekableFileContent::readUntilEnd()

for backwards compatibility with vfsStreamFile::readUntilEnd()

Return value

string

File

vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/content/SeekableFileContent.php, line 125

Class

SeekableFileContent
Default implementation for file contents based on simple strings.

Namespace

org\bovigo\vfs\content

Code

public function readUntilEnd() {
  return substr($this
    ->content(), $this->offset);
}