Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface::decide
Decides whether the access is possible or not.
Signature
public function decide(TokenInterface
$token,
[array
$attributes = null,
[
$object = null]] )
Parameters
$token
—
Symfony\Component\Security\Core\Authentication\Token\TokenInterface
- A TokenInterface instance
$attributes
—
array
- An array of attributes associated with the method being invoked
$object
—
object
- The object to secure
Returns
- Boolean
- true if the access is granted, false otherwise