You are here

public function vfsStreamFile::setContent 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::setContent()

alias for withContent()

Parameters

string $content:

Return value

vfsStreamFile

See also

withContent()

File

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

Class

vfsStreamFile
File container.

Namespace

org\bovigo\vfs

Code

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