File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -121,4 +121,24 @@ Parameter Description
121
121
122
122
.. include :: /reference/constraints/_payload-option.rst.inc
123
123
124
+ ``mode ``
125
+ ~~~~~~~~
126
+
127
+ **type **: ``string `` **default **: ``strict ``
128
+
129
+ The mode in which the BIC is validated can be defined with this option. Valid values are:
130
+
131
+ * ``strict `` uses the input BIC and validates it without modification.
132
+ * ``case-insensitive `` converts the input value to uppercase before validating the BIC.
133
+
134
+ .. tip ::
135
+
136
+ The possible values of this option are also defined as PHP constants of
137
+ :class: `Symfony\\ Component\\ Validator\\ Constraints\\ BIC `
138
+ (e.g. ``BIC::VALIDATION_MODE_CASE_INSENSITIVE ``).
139
+
140
+ .. versionadded :: 7.2
141
+
142
+ The ``mode `` option was introduced in Symfony 7.2.
143
+
124
144
.. _`Business Identifier Code (BIC)` : https://en.wikipedia.org/wiki/Business_Identifier_Code
You can’t perform that action at this time.
0 commit comments