You are here

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

constructor

Parameters

string $name:

int $permissions optional:

Overrides vfsStreamAbstractContent::__construct

1 call to vfsStreamFile::__construct()
vfsStreamBlock::__construct in vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamBlock.php
constructor
1 method overrides vfsStreamFile::__construct()
vfsStreamBlock::__construct in vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamBlock.php
constructor

File

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

Class

vfsStreamFile
File container.

Namespace

org\bovigo\vfs

Code

public function __construct($name, $permissions = null) {
  $this->content = new StringBasedFileContent(null);
  $this->type = vfsStreamContent::TYPE_FILE;
  parent::__construct($name, $permissions);
}