You are here

public function vfsStreamAbstractContent::chown in Zircon Profile 8

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

change owner of file to given user

Parameters

int $user:

Return value

$this

Overrides vfsStreamContent::chown

File

vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamAbstractContent.php, line 319

Class

vfsStreamAbstractContent
Base stream contents container.

Namespace

org\bovigo\vfs

Code

public function chown($user) {
  $this->user = $user;
  $this->lastAttributeModified = time();
  return $this;
}