public function vfsStreamAbstractContent::chmod in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamAbstractContent.php \org\bovigo\vfs\vfsStreamAbstractContent::chmod()
change file mode to given permissions
Parameters
int $permissions:
Return value
$this
Overrides vfsStreamContent::chmod
File
- vendor/
mikey179/ vfsStream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamAbstractContent.php, line 235
Class
- vfsStreamAbstractContent
- Base stream contents container.
Namespace
org\bovigo\vfsCode
public function chmod($permissions) {
$this->permissions = $permissions;
$this->lastAttributeModified = time();
clearstatcache();
return $this;
}