You are here

public function vfsStreamFile::getContent in Zircon Profile 8

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

returns the contents of the file

Getting content does not change the time when the file was last accessed.

Return value

string

File

vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamFile.php, line 117

Class

vfsStreamFile
File container.

Namespace

org\bovigo\vfs

Code

public function getContent() {
  return $this->content
    ->content();
}