AuthorityVoter implements VoterInterface
Table of Contents
$authorityRoleRepository | AuthorityRoleRepository | |
---|---|---|
$requestStack | RequestStack | |
$eccubeConfig | EccubeConfig | |
__construct() | mixed | |
vote() | mixed |
Properties
$authorityRoleRepository
protected
AuthorityRoleRepository
$authorityRoleRepository
$requestStack
protected
RequestStack
$requestStack
$eccubeConfig
protected
EccubeConfig
$eccubeConfig
Methods
__construct()
public
__construct(
$authorityRoleRepository :
AuthorityRoleRepository
, $requestStack :
RequestStack
, $eccubeConfig :
EccubeConfig
)
: mixed
Parameters
- $authorityRoleRepository : AuthorityRoleRepository
- $requestStack : RequestStack
- $eccubeConfig : EccubeConfig
Return values
mixedvote()
public
vote(
$token :
TokenInterface
, $object :
mixed
, $attributes :
array
)
: mixed
Parameters
- $token : TokenInterface
- $object : mixed
- $attributes : array