class AvailableVoter extends Voter

Voter for GiftVoucherAvailable access

Constants

CONFIG

Used for access to config

CREATE

Used for access to create

DASHBOARD

Used for access to dashboard

DELETE

Used for access to delete

DISPLAY

Used for access to display

DUPLICATE

Used for access to duplicate

HELP

Used for access to help

MODIFY

Used for access to modify

SLUG

Used for access to slug

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 108
__construct(ConfigServiceInterface $configService, AccessDecisionManagerInterface $decisionManager)

Parameters

ConfigServiceInterface $configService
AccessDecisionManagerInterface $decisionManager

at line 120
protected supports($attribute, $subject)

{@inheritdoc}

Parameters

$attribute
$subject

at line 132
protected voteOnAttribute($attribute, $subject, TokenInterface $token)

{@inheritdoc}

Parameters

$attribute
$subject
TokenInterface $token