File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -304,11 +304,12 @@ callback method:
304
304
* A closure.
305
305
306
306
Concrete callbacks receive an :class: `Symfony\\ Component\\ Validator\\ Context\\ ExecutionContextInterface `
307
- instance as only argument.
307
+ instance as the first argument and the :ref: ` payload option < payload >` as the second argument.
308
308
309
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.
310
+ , the :class: `Symfony\\ Component\\ Validator\\ Context\\ ExecutionContextInterface `
311
+ instance as the second argument and the :ref: `payload option <payload >` as the
312
+ third argument.
312
313
313
314
.. include :: /reference/constraints/_groups-option.rst.inc
314
315
You can’t perform that action at this time.
0 commit comments