Commit 310fc6a
committed
feature symfony#58062 [Validator] Add $groups and $payload to Compound constructor (derrabus)
This PR was merged into the 7.2 branch.
Discussion
----------
[Validator] Add $groups and $payload to Compound constructor
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Issues | N/A
| License | MIT
While reviewing symfony#49547 I noticed that the `$groups` and `$payload` parameters introduced in symfony#41994 cannot be leveraged in compound constraints. I'd like to change that.
Commits
-------
bf4207c [Validator] Add $groups and $payload to Compound constructorFile tree
2 files changed
+20
-2
lines changed- src/Symfony/Component/Validator
- Constraints
- Tests/Constraints
2 files changed
+20
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
29 | 47 | | |
30 | 48 | | |
31 | 49 | | |
| |||
0 commit comments