Remove deprecated getLeastSignificantBits*() methods

This commit is contained in:
Ben Ramsey
2022-03-27 18:51:18 -05:00
parent f810c0a50c
commit 5541b3d045
7 changed files with 2 additions and 71 deletions
-22
View File
@@ -143,28 +143,6 @@ trait DeprecatedUuidMethodsTrait
];
}
/**
* @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 UuidInterface::getHex()}.
*/
public function getLeastSignificantBits(): string
{
$leastSignificantHex = substr($this->getHex()->toString(), 16);
return $this->numberConverter->fromHex($leastSignificantHex);
}
/**
* @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 UuidInterface::getHex()}.
*/
public function getLeastSignificantBitsHex(): string
{
return substr($this->getHex()->toString(), 16);
}
/**
* @deprecated This method will be removed in 5.0.0. There is no direct
* alternative, but the same information may be obtained by splitting