function DeprecatedUuidMethodsTrait::getMostSignificantBits
Deprecated
This method will be removed in 5.0.0. There is no direct alternative, but the same information may be obtained by splitting in half the value returned by {
See also
File
-
vendor/
ramsey/ uuid/ src/ DeprecatedUuidMethodsTrait.php, line 194
Class
- DeprecatedUuidMethodsTrait
- This trait encapsulates deprecated methods for ramsey/uuid; this trait and its methods will be removed in ramsey/uuid 5.0.0.
Namespace
Ramsey\UuidCode
public function getMostSignificantBits() : string {
$mostSignificantHex = substr($this->getHex()
->toString(), 0, 16);
return $this->numberConverter
->fromHex($mostSignificantHex);
}