We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bd9db4 commit d68d6abCopy full SHA for d68d6ab
reference/constraints/Ulid.rst
@@ -73,6 +73,20 @@ Basic Usage
73
Options
74
-------
75
76
+``format``
77
+~~~~~~~~~~
78
+
79
+**type**: ``string`` **default**: ``Ulid::FORMAT_BASE_32``
80
81
+The format of the ULID to validate. The following formats are available:
82
83
+* ``Ulid::FORMAT_BASE_32``: The ULID is encoded in base32 (default)
84
+* ``Ulid::FORMAT_BASE_58``: The ULID is encoded in base58
85
86
+.. versionadded:: 7.2
87
88
+ The ``format`` option was introduced in Symfony 7.2.
89
90
.. include:: /reference/constraints/_groups-option.rst.inc
91
92
``message``
0 commit comments