File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 11Uuid
2- ==
2+ ====
33
44.. versionadded :: 2.5
5- The Uuid constraint was added in Symfony 2.5.
5+ The Uuid constraint was introduced in Symfony 2.5.
66
77Validates that a value is a valid `Universally unique identifier (UUID) `_ per `RFC 4122 `_.
88By default, this will validate the format according to the RFC's guidelines, but this can
@@ -97,12 +97,12 @@ strict
9797**type **: ``boolean `` **default **: ``true ``
9898
9999If 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:
102102
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 ``
106106
107107versions
108108~~~~~~~~
@@ -123,4 +123,3 @@ All five versions are allowed by default.
123123.. _`Universally unique identifier (UUID)` : http://en.wikipedia.org/wiki/Universally_unique_identifier
124124.. _`RFC 4122` : http://tools.ietf.org/html/rfc4122
125125.. _`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