File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ Use these methods to transform the UUID object into different bases::
84
84
$uuid->toBase32(); // string(26) "6SWYGR8QAV27NACAHMK5RG0RPG"
85
85
$uuid->toBase58(); // string(22) "TuetYWNHhmuSQ3xPoVLv9M"
86
86
$uuid->toRfc4122(); // string(36) "d9e7a184-5d5b-11ea-a62a-3499710062d0"
87
+ $uuid->toHex(); // string(34) "0xd9e7a1845d5b11eaa62a3499710062d0"
87
88
88
89
Working with UUIDs
89
90
~~~~~~~~~~~~~~~~~~
@@ -258,6 +259,7 @@ Use these methods to transform the ULID object into different bases::
258
259
$ulid->toBase32(); // string(26) "01E439TP9XJZ9RPFH3T1PYBCR8"
259
260
$ulid->toBase58(); // string(22) "1BKocMc5BnrVcuq2ti4Eqm"
260
261
$ulid->toRfc4122(); // string(36) "0171069d-593d-97d3-8b3e-23d06de5b308"
262
+ $ulid->toHex(); // string(34) "0x0171069d593d97d38b3e23d06de5b308"
261
263
262
264
Working with ULIDs
263
265
~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments