* * 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:----ETOvSC0CixBFLClgNyuopIPYmHADV0FsU89gwrBC3ZiMa5qCUVb0HsDcjvZkn9jeRGIyzIW9pLxqYI9ScKZ4X0FJRVzyifCBkFB1ZzkeeJZx2SPRtqL4zTzJpfeMkYZ33h7SDiyLz+mcb1AulsaeE6jw7OvUh94aN6jrONrtw9duPjNCoyvSoJL9u46rGDYJuAwbVPdaVX5mrGrxRF+rSUoFVTFDfck+eMwISxxvf3ORJwf/PaZeCCZdq2qUM2k0xUAsda8nwGCMzHDRUIk8G7oSWi86tVk1pE2Ga33QB1w3o0j7J3ZfcSptpxIcXH6VIyPAhPrxyjsDtNidwBi4atahuzDT3Po8bm4/aO+D2J+DVlaUItH9sP9A36II3JyLFKjzmwa5pcYm6le7c9StIPlXTODzUSvG3yIjl/16jOh+pFin6rm967W7Ddahx5hbvKCa86aOQT6hK+HHhNWgq30GgNhQVfdkKw8Yf5OrIG114/2JprpZ+MwQUkn+41/bpMOFtEwOdOktP24qILfFaQOAYad/tv/zFPbKn5jN8x2AChpTt5pa64jCJDeirs/u2/2WoPF+3VHoQ7zFzlPE9k7jipgUWVTWUy5x6GkvOB03Do15XPshyEZk4BpcW3sj6IiJkaSLt9BTJCNit3hAhRqaNB2g/bis/GRDA+XKwAw=----ATTACHMENT:----NTc4MDM1MzYzMDEzMDI4NiAxMTkzMDM3NjIwOTA4MDM4IDk1ODI4MTg3NjYxMTA5MTU=