File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ object and all sub-objects associated with it.
9
9
| Applies to | :ref: `property or method <validation-property-target >` |
10
10
+----------------+---------------------------------------------------------------------+
11
11
| Options | - `traverse `_ |
12
+ | | - `message `_ |
12
13
+----------------+---------------------------------------------------------------------+
13
14
| Class | :class: `Symfony\\ Component\\ Validator\\ Constraints\\ Type ` |
14
15
+----------------+---------------------------------------------------------------------+
@@ -263,3 +264,10 @@ traverse
263
264
If this constraint is applied to a property that holds an array of objects,
264
265
then each object in that array will be validated only if this option is set
265
266
to ``true ``.
267
+
268
+ message
269
+ ~~~~~~~
270
+
271
+ **type **: ``string `` **default **: ``This value should be true. ``
272
+
273
+ This is the message that will be shown if the value is false.
You can’t perform that action at this time.
0 commit comments