function UuidV2::getLocalIdentifier
Returns the local identifier for the domain used to create this version 2 UUID
File
-
vendor/
ramsey/ uuid/ src/ Rfc4122/ UuidV2.php, line 106
Class
- UuidV2
- DCE Security version, or version 2, UUIDs include local domain identifier, local ID for the specified domain, and node values that are combined into a 128-bit unsigned integer
Namespace
Ramsey\Uuid\Rfc4122Code
public function getLocalIdentifier() : IntegerObject {
/** @var Rfc4122FieldsInterface $fields */
$fields = $this->getFields();
return new IntegerObject($this->numberConverter
->fromHex($fields->getTimeLow()
->toString()));
}