File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,11 @@ Use these methods to transform the UUID object into different bases::
8484 $uuid->toBase32(); // string(26) "6SWYGR8QAV27NACAHMK5RG0RPG"
8585 $uuid->toBase58(); // string(22) "TuetYWNHhmuSQ3xPoVLv9M"
8686 $uuid->toRfc4122(); // string(36) "d9e7a184-5d5b-11ea-a62a-3499710062d0"
87- $uuid->toHex(); // string(34) "0xd9e7a1845d5b11eaa62a3499710062d0"
87+ $uuid->toHex(); // string(34) "0xd9e7a1845d5b11eaa62a3499710062d0"
88+
89+ .. versionadded :: 6.2
90+
91+ The ``toHex() `` method was introduced in Symfony 6.2.
8892
8993Working with UUIDs
9094~~~~~~~~~~~~~~~~~~
@@ -259,7 +263,11 @@ Use these methods to transform the ULID object into different bases::
259263 $ulid->toBase32(); // string(26) "01E439TP9XJZ9RPFH3T1PYBCR8"
260264 $ulid->toBase58(); // string(22) "1BKocMc5BnrVcuq2ti4Eqm"
261265 $ulid->toRfc4122(); // string(36) "0171069d-593d-97d3-8b3e-23d06de5b308"
262- $ulid->toHex(); // string(34) "0x0171069d593d97d38b3e23d06de5b308"
266+ $ulid->toHex(); // string(34) "0x0171069d593d97d38b3e23d06de5b308"
267+
268+ .. versionadded :: 6.2
269+
270+ The ``toHex() `` method was introduced in Symfony 6.2.
263271
264272Working with ULIDs
265273~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments