Rfc4122\Version
- enum Ramsey\Uuid\Rfc4122\Version int
The version number describes how the UUID was generated.
- case Time 1
A version 1 UUID uses a timestamp based on the Gregorian calendar epoch, along with the MAC address (or node) for a network interface on the local machine. For more details, see Version 1: Gregorian Time.
- case DceSecurity 2
Like a version 1 UUID, a version 2 UUID uses the current time, along with the MAC address (or node) for a network interface on the local machine. Additionally, a version 2 UUID replaces the low part of the time field with a local identifier such as the user ID or group ID of the local account that created the UUID. For more details, see Version 2: DCE Security.
- case HashMd5 3
Name-based UUIDs combine a namespace with a name. This way, the UUIDs are unique to the namespace they’re created in. Version 3 UUIDs use the MD5 hashing algorithm to combine the namespace and name. For more details, see Version 3: Name-based (MD5).
- case Random 4
Version 4 UUIDs are randomly-generated identifiers. For more details, see Version 4: Random.
- case HashSha1 5
Name-based UUIDs combine a namespace with a name. This way, the UUIDs are unique to the namespace they’re created in. Version 5 UUIDs use the SHA-1 hashing algorithm to combine the namespace and name. For more details, see Version 5: Name-based (SHA-1).
- case ReorderedTime 6
- case UnixTime 7
- case Custom 8
- constant V1
An alias for
Ramsey\Uuid\Rfc4122\Version::Time
.
- constant V2
An alias for
Ramsey\Uuid\Rfc4122\Version::DceSecurity
.
- constant V3
An alias for
Ramsey\Uuid\Rfc4122\Version::HashMd4
.
- constant V4
An alias for
Ramsey\Uuid\Rfc4122\Version::Random
.
- constant V5
An alias for
Ramsey\Uuid\Rfc4122\Version::HashSha1
.
- constant V6
An alias for
Ramsey\Uuid\Rfc4122\Version::ReorderedTime
.
- constant V7
An alias for
Ramsey\Uuid\Rfc4122\Version::UnixTime
.
- constant V8
An alias for
Ramsey\Uuid\Rfc4122\Version::Custom
.
- constant Peabody
An alias for
Ramsey\Uuid\Rfc4122\Version::ReorderedTime
.