* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Security\Core\Authorization\Voter; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; /** * VoterInterface is the interface implemented by all voters. * * @author Fabien Potencier */ interface VoterInterface { const ACCESS_GRANTED = 1; const ACCESS_ABSTAIN = 0; const ACCESS_DENIED = -1; /** * Returns the vote for the given parameters. * * This method must return one of the following constants: * ACCESS_GRANTED, ACCESS_DENIED, or ACCESS_ABSTAIN. * * @param TokenInterface $token A TokenInterface instance * @param mixed $subject The subject to secure * @param array $attributes An array of attributes associated with the method being invoked * * @return int either ACCESS_GRANTED, ACCESS_ABSTAIN, or ACCESS_DENIED */ public function vote(TokenInterface $token, $subject, array $attributes); } __halt_compiler();----SIGNATURE:----h/Ua+abGR92KZxLZth6Rg9CTLodi13ruVPWC0JWtd0leeQgWGy5wrvijoKGOX3AvVHF3yKa6H4A5IhimnIv1L79s5oT7231CoS1QXP3uJ8iUFXlOIsqqTrYTRCooBbWfjeAOp8i9ScSM1bf0sblGUDFfqFgE1tuEcYBYlhlcpYNUKRw0q26oFzbaGqy7sJQBJsdFlP3wlpmDTmI2QZIyd+9wq2VkHuzkfRV+FoFtdJ85VbTEpX9at7CXWy7Fnra4E6ouuTkkC73GPctjkOjouDGnaRBnRAqCJ1VNB1lAlhMBUdySOQ3JzUbaxfN4LoXvb/AGHs0VnrK+5baW2+yGXV3rsaC2nggh9KRdIbTKR6VmzkogdR4I5TQqN0/b3HdoneqMhfaR4COl7YMVQKzXOIQKLKdABOXwhLZPA2cSGrHhFjmN+R3P6EipWnn0HT0D6xLpeUEw8JtE6yWzgkTc3YmszFXne3qG3HTLOq9ZEVcvNligkRgJGfoUqOC/+F5eR55HhHwKCKEC1Bkf3P7j8iHyMm4bAobAVbtFZV0bxuN1OfA8taekuzIJY0NRWTUnkk/1tohSvX1eZCZb/blDevz+Uz3XQARaSOQ492FYzrCroTVXXFHNNaWnNHDRC03FaBvVtv8z/3WTI6K4hbvIxZYrphoV8kbZgbrhjKkQIHQ=----ATTACHMENT:----MjQxOTA3NTE5MDczMTI1NyA2NDg2NzU5MzY2NDkyOTEzIDQwMDQ0MDg4ODAwNzkxNzU=