class AccessDecisionManager implements AccessDecisionManagerInterface
AccessDecisionManager is the base class for all access decision managers that use decision voters.
STRATEGY_AFFIRMATIVE | |
STRATEGY_CONSENSUS | |
STRATEGY_UNANIMOUS |
__construct(array $voters, string $strategy = self::STRATEGY_AFFIRMATIVE, bool $allowIfAllAbstainDecisions = false, bool $allowIfEqualGrantedDeniedDecisions = true) Constructor. | ||
bool | decide(TokenInterface $token, array $attributes, object $object = null) Decides whether the access is possible or not. | |
bool | supportsAttribute(string $attribute) Checks if the access decision manager supports the given attribute. | |
true | supportsClass(string $class) Checks if the access decision manager supports the given class. |
Constructor.
Decides whether the access is possible or not.
Checks if the access decision manager supports the given attribute.
Checks if the access decision manager supports the given class.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Security/Core/Authorization/AccessDecisionManager.html