Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3926328
D2663.id6730.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
840 B
Referenced Files
None
Subscribers
None
D2663.id6730.diff
View Options
diff --git a/omnitools/src/Identifiers/UUID.php b/omnitools/src/Identifiers/UUID.php
--- a/omnitools/src/Identifiers/UUID.php
+++ b/omnitools/src/Identifiers/UUID.php
@@ -13,13 +13,13 @@
class UUID {
- const UUID_REGEXP = "/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/";
+ public const UUID_REGEXP = "/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/";
- const MAX_12 = 4095;
- const MAX_48 = 281_474_976_710_655;
- const MAX_62 = 4_611_686_018_427_387_903;
+ private const MAX_12 = 4095;
+ private const MAX_48 = 281_474_976_710_655;
+ private const MAX_62 = 4_611_686_018_427_387_903;
- const UUIDV7_QUANTITY_PER_MS = 63;
+ private const UUIDV7_QUANTITY_PER_MS = 63;
///
/// Public constants from RFC 4122 and draft-peabody-dispatch-new-uuid-format-03
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 22, 20:43 (4 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2311283
Default Alt Text
D2663.id6730.diff (840 B)
Attached To
Mode
D2663: Document UUID class
Attached
Detach File
Event Timeline
Log In to Comment