File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ Validates that a value is a valid `ISO 3166-1 alpha-2`_ country code.
5
5
6
6
========== ===================================================================
7
7
Applies to :ref: `property or method <validation-property-target >`
8
- Options - `groups `_
8
+ Options - `alpha3 `_
9
+ - `groups `_
9
10
- `message `_
10
- - `alpha3 `_
11
11
- `payload `_
12
12
Class :class: `Symfony\\ Component\\ Validator\\ Constraints\\ Country `
13
13
Validator :class: `Symfony\\ Component\\ Validator\\ Constraints\\ CountryValidator `
@@ -82,6 +82,10 @@ Options
82
82
alpha3
83
83
~~~~~~
84
84
85
+ .. versionadded :: 5.1
86
+
87
+ The ``alpha3 `` option was introduced in Symfony 5.1.
88
+
85
89
**type **: ``boolean `` **default **: ``false ``
86
90
87
91
If this option is ``true ``, then the constraint will valid the value as
You can’t perform that action at this time.
0 commit comments