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

Commit2e0ed92

Browse files
peterrehmweaverryan
authored andcommitted
Line Format
1 parent422b2c0 commit2e0ed92

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎cookbook/security/voters.rst‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,10 @@ the security layer. This can be done easily through the service container.
102102

103103
..tip::
104104

105-
Your implementation of the methods:method:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface::supportsAttribute` and `Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface::supportsClass` are
106-
not being called internally by the framework. Once you have registered your
105+
Your implementation of the methods
106+
:method:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface::supportsAttribute`
107+
and:method:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface::supportsClass`
108+
are not being called internally by the framework. Once you have registered your
107109
voter the ``vote()`` method will always be called, not depending on your
108110
restrictions. Therefore you need to call those methods in your implementation
109111
of the ``vote()`` method.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp