We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb03a64 commit c11a431Copy full SHA for c11a431
components/uid.rst
@@ -179,6 +179,11 @@ Use these methods to transform the UUID object into different bases::
179
$uuid->toBase58(); // string(22) "TuetYWNHhmuSQ3xPoVLv9M"
180
$uuid->toRfc4122(); // string(36) "d9e7a184-5d5b-11ea-a62a-3499710062d0"
181
$uuid->toHex(); // string(34) "0xd9e7a1845d5b11eaa62a3499710062d0"
182
+ $uuid->toString(); // string(36) "d9e7a184-5d5b-11ea-a62a-3499710062d0"
183
+
184
+.. versionadded:: 7.1
185
186
+ The ``toString()`` method was introduced in Symfony 7.1.
187
188
You can also convert some UUID versions to others::
189
0 commit comments