File tree 1 file changed +7
-8
lines changed
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1
1
Uuid
2
- ==
2
+ ====
3
3
4
4
.. versionadded :: 2.5
5
- The Uuid constraint was added in Symfony 2.5.
5
+ The Uuid constraint was introduced in Symfony 2.5.
6
6
7
7
Validates that a value is a valid `Universally unique identifier (UUID) `_ per `RFC 4122 `_.
8
8
By default, this will validate the format according to the RFC's guidelines, but this can
@@ -97,12 +97,12 @@ strict
97
97
**type **: ``boolean `` **default **: ``true ``
98
98
99
99
If this option is set to ``true `` the constraint will check if the UUID is formatted per the
100
- RFC's input format rules: ``216fff40-98d9-11e3-a5e2-0800200c9a66 ``. Setting this to ``false ``
101
- will allow alternate input formats like::
100
+ RFC's input format rules: ``216fff40-98d9-11e3-a5e2-0800200c9a66 ``. Setting this to ``false ``
101
+ will allow alternate input formats like:
102
102
103
- 216f-ff40-98d9-11e3-a5e2-0800-200c-9a66
104
- {216fff40-98d9-11e3-a5e2-0800200c9a66}
105
- 216fff4098d911e3a5e20800200c9a66
103
+ * `` 216f-ff40-98d9-11e3-a5e2-0800-200c-9a66 ``
104
+ * `` {216fff40-98d9-11e3-a5e2-0800200c9a66} ``
105
+ * `` 216fff4098d911e3a5e20800200c9a66 ``
106
106
107
107
versions
108
108
~~~~~~~~
@@ -123,4 +123,3 @@ All five versions are allowed by default.
123
123
.. _`Universally unique identifier (UUID)` : http://en.wikipedia.org/wiki/Universally_unique_identifier
124
124
.. _`RFC 4122` : http://tools.ietf.org/html/rfc4122
125
125
.. _`UUID versions` : http://en.wikipedia.org/wiki/Universally_unique_identifier#Variants_and_versions
126
-
You can’t perform that action at this time.
0 commit comments