Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5a9b7e4

Browse files
committed
[symfony#2885] Fixing 2 more bad namespace uses
1 parent303daff commit5a9b7e4

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)

[8]ページ先頭

©2009-2025 Movatter.jp