Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions reference/constraints/Uuid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,18 +124,19 @@ will allow alternate input formats like:
``versions``
~~~~~~~~~~~~

**type**: ``int[]`` **default**: ``[1,2,3,4,5]``
**type**: ``int[]`` **default**: ``[1,2,3,4,5,6]``

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

* ``Uuid::V1_MAC``
* ``Uuid::V2_DCE``
* ``Uuid::V3_MD5``
* ``Uuid::V4_RANDOM``
* ``Uuid::V5_SHA1``
* ``Uuid::V6_SORTABLE``

All five versions are allowed by default.
All six versions are allowed by default.

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