File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -85,25 +85,12 @@ of :class:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterf
8585which means they have to implement a few methods which allows the decision
8686manager to use them:
8787
88- ``supportsAttribute($attribute) `` (deprecated as of 2.8)
89- will be used to check if the voter knows how to handle the given attribute;
90-
91- ``supportsClass($class) `` (deprecated as of 2.8)
92- will be used to check if the voter is able to grant or deny access for
93- an object of the given class;
94-
9588``vote(TokenInterface $token, $object, array $attributes) ``
9689 this method will do the actual voting and return a value equal to one
9790 of the class constants of :class: `Symfony\\ Component\\ Security\\ Core\\ Authorization\\ Voter\\ VoterInterface `,
9891 i.e. ``VoterInterface::ACCESS_GRANTED ``, ``VoterInterface::ACCESS_DENIED ``
9992 or ``VoterInterface::ACCESS_ABSTAIN ``;
10093
101- .. note ::
102-
103- The ``supportsAttribute() `` and ``supportsClass() `` methods are deprecated
104- as of Symfony 2.8 and no longer required in 3.0. These methods should not
105- be called outside the voter class.
106-
10794The Security component contains some standard voters which cover many use
10895cases:
10996
You can’t perform that action at this time.
0 commit comments