1 | <?php |
||
17 | abstract class AbstractAdminAwareVoter extends AbstractVoter |
||
18 | { |
||
19 | /** |
||
20 | * Returns the vote for the given parameters. |
||
21 | * |
||
22 | * This method must return one of the following constants: |
||
23 | * ACCESS_GRANTED, ACCESS_DENIED, or ACCESS_ABSTAIN. |
||
24 | * |
||
25 | * @param TokenInterface $token A TokenInterface instance |
||
26 | * @param object $object The object to secure |
||
27 | * @param array $attributes An array of attributes associated with the method being invoked |
||
28 | * |
||
29 | * @return integer either ACCESS_GRANTED, ACCESS_ABSTAIN, or ACCESS_DENIED |
||
30 | */ |
||
31 | public function vote(TokenInterface $token, $object, array $attributes) |
||
49 | } |
||
50 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.