File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1062,9 +1062,9 @@ entity and a new constraint group called ``Premium``:
1062
1062
}
1063
1063
1064
1064
Now, change the ``User `` class to implement
1065
- :class: `Symfony\\ Component\\ Validation \\ GroupSequenceProviderInterface ` and
1065
+ :class: `Symfony\\ Component\\ Validator \\ GroupSequenceProviderInterface ` and
1066
1066
add the
1067
- :method: `Symfony\\ Component\\ Validation \\ GroupSequenceProviderInterface::getGroupSequence `,
1067
+ :method: `Symfony\\ Component\\ Validator \\ GroupSequenceProviderInterface::getGroupSequence `,
1068
1068
which should return an array of groups to use. Also, add the
1069
1069
``@Assert\GroupSequenceProvider `` annotation to the class. If you imagine
1070
1070
that a method called ``isPremium `` returns true if the user is a premium member,
You can’t perform that action at this time.
0 commit comments