class PermissionVoter extends Voter implements ResetInterface

Methods

__construct(AuthService $authService)

No description

void
reset()

No description

bool
supports(string $attribute, mixed $subject)

No description

bool
voteOnAttribute(string $attribute, mixed $subject, TokenInterface $token)

No description

Details

at line 24
__construct(AuthService $authService)

No description

Parameters

AuthService $authService

at line 29
void reset()

No description

Return Value

void

at line 34
protected bool supports(string $attribute, mixed $subject)

No description

Parameters

string $attribute
mixed $subject

Return Value

bool

at line 39
protected bool voteOnAttribute(string $attribute, mixed $subject, TokenInterface $token)

No description

Parameters

string $attribute
mixed $subject
TokenInterface $token

Return Value

bool