Skip to content

Commit c11a431

Browse files
committed
[Uid] Add AbstractUid::toString()
1 parent bb03a64 commit c11a431

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/uid.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ Use these methods to transform the UUID object into different bases::
179179
$uuid->toBase58(); // string(22) "TuetYWNHhmuSQ3xPoVLv9M"
180180
$uuid->toRfc4122(); // string(36) "d9e7a184-5d5b-11ea-a62a-3499710062d0"
181181
$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.
182187

183188
You can also convert some UUID versions to others::
184189

0 commit comments

Comments
 (0)