Skip to content

Commit d3fb685

Browse files
authored
14300 Update support for Uuid 6
1 parent ce94f89 commit d3fb685

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

reference/constraints/Uuid.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,18 +119,19 @@ will allow alternate input formats like:
119119
``versions``
120120
~~~~~~~~~~~~
121121

122-
**type**: ``int[]`` **default**: ``[1,2,3,4,5]``
122+
**type**: ``int[]`` **default**: ``[1,2,3,4,5,6]``
123123

124-
This option can be used to only allow specific `UUID versions`_. Valid versions are 1 - 5.
124+
This option can be used to only allow specific `UUID versions`_. Valid versions are 1 - 6.
125125
The following PHP constants can also be used:
126126

127127
* ``Uuid::V1_MAC``
128128
* ``Uuid::V2_DCE``
129129
* ``Uuid::V3_MD5``
130130
* ``Uuid::V4_RANDOM``
131131
* ``Uuid::V5_SHA1``
132+
* ``Uuid::V6_SORTABLE``
132133

133-
All five versions are allowed by default.
134+
All six versions are allowed by default.
134135

135136
.. _`Universally unique identifier (UUID)`: https://en.wikipedia.org/wiki/Universally_unique_identifier
136137
.. _`RFC 4122`: https://tools.ietf.org/html/rfc4122

0 commit comments

Comments
 (0)