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 123bc51 commit ab647bfCopy full SHA for ab647bf
reference/constraints/Callback.rst
@@ -304,11 +304,12 @@ callback method:
304
* A closure.
305
306
Concrete callbacks receive an :class:`Symfony\\Component\\Validator\\Context\\ExecutionContextInterface`
307
-instance as only argument.
+instance as the first argument and the :ref:`payload option <payload>` as the second argument.
308
309
Static or closure callbacks receive the validated object as the first argument
310
-and the :class:`Symfony\\Component\\Validator\\Context\\ExecutionContextInterface`
311
-instance as the second argument.
+, the :class:`Symfony\\Component\\Validator\\Context\\ExecutionContextInterface`
+instance as the second argument and the :ref:`payload option <payload>` as the
312
+third argument.
313
314
.. include:: /reference/constraints/_groups-option.rst.inc
315
0 commit comments