DebugAccessDecisionManager
DebugAccessDecisionManager
class DebugAccessDecisionManager implements AccessDecisionManagerInterface
Decorates the original AccessDecisionManager class to log information about the security voters and the decisions made by them.
Methods
__construct(AccessDecisionManagerInterface $manager) | ||
bool | decide(TokenInterface $token, array $attributes, object $object = null) Decides whether the access is possible or not. | |
setVoters(array $voters) {@inheritdoc} | ||
string | getStrategy() | |
array | getVoters() | |
array | getDecisionLog() |
Details
__construct(AccessDecisionManagerInterface $manager)
bool decide(TokenInterface $token, array $attributes, object $object = null)
Decides whether the access is possible or not.
setVoters(array $voters)
{@inheritdoc}
string getStrategy()
array getVoters()
array getDecisionLog()
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Security/Core/Authorization/DebugAccessDecisionManager.html