You are here

public static function vfsStream::getCurrentGroup in Zircon Profile 8.0

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

returns current group

If the system does not support posix_getgid() the current group will be root (0).

Return value

int

41 calls to vfsStream::getCurrentGroup()
vfsStreamAbstractContent::__construct in vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamAbstractContent.php
constructor
vfsStreamAbstractContentTestCase::allPermissionsForGroup in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamAbstractContentTestCase.php
@test @group permissions @group bug_15
vfsStreamAbstractContentTestCase::allPermissionsForOther in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamAbstractContentTestCase.php
@test @group permissions @group bug_15
vfsStreamAbstractContentTestCase::allPermissionsForUser in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamAbstractContentTestCase.php
@test @group permissions @group bug_15
vfsStreamAbstractContentTestCase::executeAndWritePermissionsForGroup in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamAbstractContentTestCase.php
@test @group permissions @group bug_15

... See full list

File

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

Class

vfsStream
Some utility methods for vfsStream.

Namespace

org\bovigo\vfs

Code

public static function getCurrentGroup() {
  return function_exists('posix_getgid') ? posix_getgid() : self::GROUP_ROOT;
}