function SystemDceSecurityProvider::getOs
Returns the PHP_OS string
2 calls to SystemDceSecurityProvider::getOs()
- SystemDceSecurityProvider::getSystemGid in vendor/
ramsey/ uuid/ src/ Provider/ Dce/ SystemDceSecurityProvider.php - Returns the GID from the system
- SystemDceSecurityProvider::getSystemUid in vendor/
ramsey/ uuid/ src/ Provider/ Dce/ SystemDceSecurityProvider.php - Returns the UID from the system
File
-
vendor/
ramsey/ uuid/ src/ Provider/ Dce/ SystemDceSecurityProvider.php, line 142
Class
- SystemDceSecurityProvider
- SystemDceSecurityProvider retrieves the user or group identifiers from the system
Namespace
Ramsey\Uuid\Provider\DceCode
private function getOs() : string {
/**
* @psalm-suppress UnnecessaryVarAnnotation
* @var string $phpOs
*/
$phpOs = constant('PHP_OS');
return strtoupper(substr($phpOs, 0, 3));
}