function Uuid::fromInteger
Creates a UUID from a 128-bit integer string
@psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, but under constant factory setups, this method operates in functionally pure manners
Parameters
string $integer String representation of 128-bit integer:
Return value
UuidInterface A UuidInterface instance created from the string representation of a 128-bit integer
File
-
vendor/
ramsey/ uuid/ src/ Uuid.php, line 556
Class
- Uuid
- Uuid provides constants and static methods for working with and generating UUIDs
Namespace
Ramsey\UuidCode
public static function fromInteger(string $integer) : UuidInterface {
/** @psalm-suppress ImpureMethodCall */
return self::getFactory()->fromInteger($integer);
}