You are here

public function StringBasedFileContent::__construct in Zircon Profile 8

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

constructor

Parameters

string $content:

File

vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/content/StringBasedFileContent.php, line 30

Class

StringBasedFileContent
Default implementation for file contents based on simple strings.

Namespace

org\bovigo\vfs\content

Code

public function __construct($content) {
  $this->content = $content;
}