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 f49a48a commit 387943cCopy full SHA for 387943c
reference/constraints/Unique.rst
@@ -216,4 +216,17 @@ trailing whitespace during validation.
216
217
.. include:: /reference/constraints/_payload-option.rst.inc
218
219
+``stopOnFirstError``
220
+~~~~~~~~~~~~~~~~~~~~
221
+
222
+**type**: ``boolean`` **default**: ``true``
223
224
+By default, this constraint stops at the first violation. If the option is set to ``false``,
225
+validation will continue on all elements and return all detected
226
+:class:`Symfony\\Component\\Validator\\ConstraintViolation` object.
227
228
+.. versionadded:: 7.3
229
230
+ The ``stopOnFirstError`` option was introduced in Symfony 7.3.
231
232
.. _`PHP callable`: https://www.php.net/callable
0 commit comments