Skip to content

Commit bf310c1

Browse files
JohJohanjaviereguiluz
authored andcommitted
14300 Update support for Uuid 6
1 parent f9c2a32 commit bf310c1

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
@@ -124,18 +124,19 @@ will allow alternate input formats like:
124124
``versions``
125125
~~~~~~~~~~~~
126126

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

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

132132
* ``Uuid::V1_MAC``
133133
* ``Uuid::V2_DCE``
134134
* ``Uuid::V3_MD5``
135135
* ``Uuid::V4_RANDOM``
136136
* ``Uuid::V5_SHA1``
137+
* ``Uuid::V6_SORTABLE``
137138

138-
All five versions are allowed by default.
139+
All six versions are allowed by default.
139140

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

0 commit comments

Comments
 (0)