Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd0e01b6

Browse files
committed
[#12857] Fix options order and added versionadded directive
1 parentbb8f44f commitd0e01b6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎reference/constraints/Country.rst‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ Validates that a value is a valid `ISO 3166-1 alpha-2`_ country code.
55

66
========== ===================================================================
77
Applies to:ref:`property or method<validation-property-target>`
8-
Options - `groups`_
8+
Options - `alpha3`_
9+
- `groups`_
910
- `message`_
10-
- `alpha3`_
1111
- `payload`_
1212
Class:class:`Symfony\\Component\\Validator\\Constraints\\Country`
1313
Validator:class:`Symfony\\Component\\Validator\\Constraints\\CountryValidator`
@@ -82,6 +82,10 @@ Options
8282
alpha3
8383
~~~~~~
8484

85+
..versionadded::5.1
86+
87+
The ``alpha3`` option was introduced in Symfony 5.1.
88+
8589
**type**: ``boolean`` **default**: ``false``
8690

8791
If this option is ``true``, then the constraint will valid the value as

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp