File tree Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,13 @@ NotBlank
22========
33
44Validates that a value is not blank - meaning not equal to a blank string,
5- a blank array, ``false `` or ``null `` (null behavior is configurable). To check
6- that a value is not equal to ``null ``, see the
7- :doc: `/reference/constraints/NotNull ` constraint.
5+ a blank array, ``false `` or ``null ``. To check that a value is not equal to
6+ ``null ``, see the :doc: `/reference/constraints/NotNull ` constraint.
87
98+----------------+------------------------------------------------------------------------+
109| Applies to | :ref: `property or method <validation-property-target >` |
1110+----------------+------------------------------------------------------------------------+
12- | Options | - `allowNull `_ |
13- | | - `message `_ |
11+ | Options | - `message `_ |
1412| | - `payload `_ |
1513+----------------+------------------------------------------------------------------------+
1614| Class | :class: `Symfony\\ Component\\ Validator\\ Constraints\\ NotBlank ` |
@@ -83,18 +81,6 @@ class were not blank, you could do the following:
8381 Options
8482-------
8583
86- allowNull
87- ~~~~~~~~~
88-
89- **type **: ``bool `` **default **: ``false ``
90-
91- If set to ``true ``, ``null `` values are considered valid and won't trigger a
92- constraint violation.
93-
94- .. versionadded :: 4.3
95-
96- The ``allowNull `` option was introduced in Symfony 4.3.
97-
9884message
9985~~~~~~~
10086
You can’t perform that action at this time.
0 commit comments