Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7a1e101

Browse files
[Validator] Add exclude option to Cascade
1 parent c190ecb commit 7a1e101

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

reference/constraints/Cascade.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,16 @@ Options
8787

8888
The ``groups`` option is not available for this constraint.
8989

90+
``exclude``
91+
~~~~~~~~~~~
92+
93+
**type**: ``array`` | ``string`` **default**: ``null``
94+
95+
This option can be used to exclude one or more properties from the
96+
cascade validation.
97+
98+
.. versionadded:: 6.3
99+
100+
The ``exclude`` option was introduced in Symfony 6.3.
101+
90102
.. include:: /reference/constraints/_payload-option.rst.inc

0 commit comments

Comments
 (0)