mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-15 16:07:55 +03:00
feat: move UuidV6 to the Rfc4122 namespace
This commit is contained in:
+9
-3
@@ -156,19 +156,25 @@ class Uuid implements UuidInterface
|
||||
public const UUID_TYPE_HASH_SHA1 = 5;
|
||||
|
||||
/**
|
||||
* Version 6 (ordered-time) UUID
|
||||
* Version 6 (reordered-time) UUID
|
||||
*
|
||||
* This is named `UUID_TYPE_PEABODY`, since the specification is still in
|
||||
* draft form, and the primary author/editor's name is Brad Peabody.
|
||||
*
|
||||
* @deprecated The Ramsey\Uuid\Version enum will replace this constant in
|
||||
* ramsey/uuid version 5.
|
||||
* @deprecated Use {@see Uuid::UUID_TYPE_REORDERED_TIME} instead.
|
||||
*
|
||||
* @link https://github.com/uuid6/uuid6-ietf-draft UUID version 6 IETF draft
|
||||
* @link http://gh.peabody.io/uuidv6/ "Version 6" UUIDs
|
||||
*/
|
||||
public const UUID_TYPE_PEABODY = 6;
|
||||
|
||||
/**
|
||||
* Version 6 (reordered-time) UUID
|
||||
*
|
||||
* @link https://datatracker.ietf.org/doc/html/draft-peabody-dispatch-new-uuid-format-04#section-5.1 UUID Version 6
|
||||
*/
|
||||
public const UUID_TYPE_REORDERED_TIME = 6;
|
||||
|
||||
/**
|
||||
* DCE Security principal domain
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user