function Uuid::getFactory
Returns the factory used to create UUIDs
3 calls to Uuid::getFactory()
- Uuid::fromHexadecimal in vendor/
ramsey/ uuid/ src/ Uuid.php - Creates a UUID from the Hexadecimal object
- Uuid::uuid7 in vendor/
ramsey/ uuid/ src/ Uuid.php - Returns a version 7 (Unix Epoch time) UUID
- Uuid::uuid8 in vendor/
ramsey/ uuid/ src/ Uuid.php - Returns a version 8 (custom) UUID
File
-
vendor/
ramsey/ uuid/ src/ Uuid.php, line 406
Class
- Uuid
- Uuid provides constants and static methods for working with and generating UUIDs
Namespace
Ramsey\UuidCode
public static function getFactory() : UuidFactoryInterface {
if (self::$factory === null) {
self::$factory = new UuidFactory();
}
return self::$factory;
}