File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -121,4 +121,20 @@ Parameter Description
121121
122122.. include :: /reference/constraints/_payload-option.rst.inc
123123
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+
124140.. _`Business Identifier Code (BIC)` : https://en.wikipedia.org/wiki/Business_Identifier_Code
You can’t perform that action at this time.
0 commit comments