DebugAccessDecisionManager deprecated

class DebugAccessDecisionManager implements AccessDecisionManagerInterface

deprecated

The DebugAccessDecisionManager class has been renamed and is deprecated since version 3.3 and will be removed in 4.0. Use the TraceableAccessDecisionManager class instead.

This is a placeholder for the old class, that got renamed; this is not a BC break since the class is internal, this placeholder is here just to help backward compatibility with older SecurityBundle versions.

Methods

bool decide(TokenInterface $token, array $attributes, object $object = null)

Decides whether the access is possible or not.

Details

bool decide(TokenInterface $token, array $attributes, object $object = null)

Decides whether the access is possible or not.

Parameters

TokenInterface $token A TokenInterface instance
array $attributes An array of attributes associated with the method being invoked
object $object The object to secure

Return Value

bool true if the access is granted, false otherwise