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

Commit422b2c0

Browse files
peterrehmweaverryan
authored andcommitted
Added API Links
1 parent233cb32 commit422b2c0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎cookbook/security/voters.rst‎

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

103103
..tip::
104104

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

111111
Declaring the Voter as a Service
112112
--------------------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp