You are here

public function vfsStreamAbstractContent::isOwnedByUser in Zircon Profile 8.0

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

checks whether file is owned by given user

Parameters

int $user:

Return value

bool

Overrides vfsStreamContent::isOwnedByUser

File

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

Class

vfsStreamAbstractContent
Base stream contents container.

Namespace

org\bovigo\vfs

Code

public function isOwnedByUser($user) {
  return $this->user === $user;
}