function SystemDceSecurityProvider::getSystemGid
Returns the GID from the system
1 call to SystemDceSecurityProvider::getSystemGid()
- SystemDceSecurityProvider::getGid in vendor/
ramsey/ uuid/ src/ Provider/ Dce/ SystemDceSecurityProvider.php - @inheritDoc
File
-
vendor/
ramsey/ uuid/ src/ Provider/ Dce/ SystemDceSecurityProvider.php, line 117
Class
- SystemDceSecurityProvider
- SystemDceSecurityProvider retrieves the user or group identifiers from the system
Namespace
Ramsey\Uuid\Provider\DceCode
private function getSystemGid() : string {
if (!$this->hasShellExec()) {
return '';
}
return match ($this->getOs()) { 'WIN' => $this->getWindowsGid(),
default => trim((string) shell_exec('id -g')),
};
}