We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 350dfbe commit ccda9b2Copy full SHA for ccda9b2
reference/constraints/Bic.rst
@@ -121,4 +121,20 @@ Parameter Description
121
122
.. include:: /reference/constraints/_payload-option.rst.inc
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
.. _`Business Identifier Code (BIC)`: https://en.wikipedia.org/wiki/Business_Identifier_Code
0 commit comments