@@ -17,17 +17,17 @@ can do anything, including creating and assigning validation errors.
17
17
as you'll see in the example, a callback method has the ability to directly
18
18
add validator "violations".
19
19
20
- +----------------+------------------------------------------------------------------------+
21
- | Applies to | :ref: `class <validation-class-target >` |
22
- +----------------+------------------------------------------------------------------------+
23
- | Options | - :ref: `callback <callback-option >` |
24
- | | - `groups `_ |
25
- | | - `payload `_ |
26
- +----------------+------------------------------------------------------------------------+
27
- | Class | :class: `Symfony\\ Component\\ Validator\\ Constraints\\ Callback ` |
28
- +----------------+------------------------------------------------------------------------+
29
- | Validator | :class: `Symfony\\ Component\\ Validator\\ Constraints\\ CallbackValidator ` |
30
- +----------------+------------------------------------------------------------------------+
20
+ +----------------+----------------------------------------------------------------------------------------------- +
21
+ | Applies to | :ref: `class <validation-class-target >` or :ref: ` property/method < validation-property-target >` |
22
+ +----------------+----------------------------------------------------------------------------------------------- +
23
+ | Options | - :ref: `callback <callback-option >` |
24
+ | | - `groups `_ |
25
+ | | - `payload `_ |
26
+ +----------------+----------------------------------------------------------------------------------------------- +
27
+ | Class | :class: `Symfony\\ Component\\ Validator\\ Constraints\\ Callback ` |
28
+ +----------------+----------------------------------------------------------------------------------------------- +
29
+ | Validator | :class: `Symfony\\ Component\\ Validator\\ Constraints\\ CallbackValidator ` |
30
+ +----------------+----------------------------------------------------------------------------------------------- +
31
31
32
32
Configuration
33
33
-------------
0 commit comments