Skip to content

Commit 9017d55

Browse files
committed
feature #19386 [Uid] Add AbstractUid::toString() (alamirault)
This PR was merged into the 7.1 branch. Discussion ---------- [Uid] Add `AbstractUid::toString()` Fix #19384 Commits ------- c11a431 [Uid] Add AbstractUid::toString()
2 parents d6e3cf9 + c11a431 commit 9017d55

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)