PurchasedVoter
class PurchasedVoter extends Voter
Voter for GiftVoucherPurchased access
Constants
UTILISATION |
Used for access to utilisation |
UTILISATION_CONFIRM |
Used for access to utilisation |
ATTRIBUTES |
Contains all the available attributes to check with in supports() |
Properties
private ConfigServiceInterface | $configService | Stores ConfigServiceInterface | |
private AccessDecisionManagerInterface | $decisionManager | Stores AccessDecisionManagerInterface |
Methods
__construct(ConfigServiceInterface $configService, AccessDecisionManagerInterface $decisionManager)
No description
supports($attribute, $subject)
{@inheritdoc}
voteOnAttribute($attribute, $subject, TokenInterface $token)
{@inheritdoc}
Details
at line 59
__construct(ConfigServiceInterface $configService, AccessDecisionManagerInterface $decisionManager)
at line 71
protected
supports($attribute, $subject)
{@inheritdoc}
at line 83
protected
voteOnAttribute($attribute, $subject, TokenInterface $token)
{@inheritdoc}