Skip to content

Commit 5a9b7e4

Browse files
committed
[symfony#2885] Fixing 2 more bad namespace uses
1 parent 303daff commit 5a9b7e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/validation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,9 +1062,9 @@ entity and a new constraint group called ``Premium``:
10621062
}
10631063
10641064
Now, change the ``User`` class to implement
1065-
:class:`Symfony\\Component\\Validation\\GroupSequenceProviderInterface` and
1065+
:class:`Symfony\\Component\\Validator\\GroupSequenceProviderInterface` and
10661066
add the
1067-
:method:`Symfony\\Component\\Validation\\GroupSequenceProviderInterface::getGroupSequence`,
1067+
:method:`Symfony\\Component\\Validator\\GroupSequenceProviderInterface::getGroupSequence`,
10681068
which should return an array of groups to use. Also, add the
10691069
``@Assert\GroupSequenceProvider`` annotation to the class. If you imagine
10701070
that a method called ``isPremium`` returns true if the user is a premium member,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy