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