Method | Description | |
---|---|---|
decide ( Symfony\Component\Security\Authentication\Token\TokenInterface $token, array $attributes, object $object = null ) : boolean | Decides whether the access is possible or not. | |
supportsAttribute ( string $attribute ) : boolean | Checks if the access decision manager supports the given attribute. | |
supportsClass ( string $class ) : true | Checks if the access decision manager supports the given class. |
public decide ( Symfony\Component\Security\Authentication\Token\TokenInterface $token, array $attributes, object $object = null ) : boolean | ||
$token | Symfony\Component\Security\Authentication\Token\TokenInterface | A TokenInterface instance |
$attributes | array | An array of attributes associated with the method being invoked |
$object | object | The object to secure |
return | boolean | true if the access is granted, false otherwise |
public supportsAttribute ( string $attribute ) : boolean | ||
$attribute | string | An attribute |
return | boolean | true if this decision manager supports the attribute, false otherwise |
public supportsClass ( string $class ) : true | ||
$class | string | A class name |
return | true | if this decision manager can process the class |