function vfsStreamAbstractContent::__construct
constructor
Parameters
string $name:
int $permissions optional:
4 calls to vfsStreamAbstractContent::__construct()
- vfsStreamDirectory::__construct in vendor/
mikey179/ vfsstream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamDirectory.php - constructor
- vfsStreamDirectory::__construct in vendor/
mikey179/ vfsstream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamDirectory.php - constructor
- vfsStreamFile::__construct in vendor/
mikey179/ vfsstream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamFile.php - constructor
- vfsStreamFile::__construct in vendor/
mikey179/ vfsstream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamFile.php - constructor
2 methods override vfsStreamAbstractContent::__construct()
- vfsStreamDirectory::__construct in vendor/
mikey179/ vfsstream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamDirectory.php - constructor
- vfsStreamFile::__construct in vendor/
mikey179/ vfsstream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamFile.php - constructor
File
-
vendor/
mikey179/ vfsstream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamAbstractContent.php, line 77
Class
- vfsStreamAbstractContent
- Base stream contents container.
Namespace
org\bovigo\vfsCode
public function __construct($name, $permissions = null) {
$this->name = "{$name}";
$time = time();
if (null === $permissions) {
$permissions = $this->getDefaultPermissions() & ~vfsStream::umask();
}
$this->lastAccessed = $time;
$this->lastAttributeModified = $time;
$this->lastModified = $time;
$this->permissions = $permissions;
$this->user = vfsStream::getCurrentUser();
$this->group = vfsStream::getCurrentGroup();
}