8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 303daff commit 5a9b7e4Copy full SHA for 5a9b7e4
book/validation.rst
@@ -1062,9 +1062,9 @@ entity and a new constraint group called ``Premium``:
1062
}
1063
1064
Now, change the ``User`` class to implement
1065
-:class:`Symfony\\Component\\Validation\\GroupSequenceProviderInterface` and
+:class:`Symfony\\Component\\Validator\\GroupSequenceProviderInterface` and
1066
add the
1067
-:method:`Symfony\\Component\\Validation\\GroupSequenceProviderInterface::getGroupSequence`,
+:method:`Symfony\\Component\\Validator\\GroupSequenceProviderInterface::getGroupSequence`,
1068
which should return an array of groups to use. Also, add the
1069
``@Assert\GroupSequenceProvider`` annotation to the class. If you imagine
1070
that a method called ``isPremium`` returns true if the user is a premium member,
0 commit comments