PHP Class Youshido\GraphQLBundle\Security\Voter\AbstractListVoter

Inheritance: extends Symfony\Component\Security\Core\Authorization\Voter\Voter
Show file Open project: youshido/graphql-bundle

Public Methods

Method Description
getList ( ) : string[]
setEnabled ( $enabled )
setList ( array $list )

Protected Methods

Method Description
inList ( $query )
isLoggedInUser ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token )
supports ( $attribute, $subject )

Method Details

getList() public method

public getList ( ) : string[]
return string[]

inList() protected method

protected inList ( $query )

isLoggedInUser() protected method

protected isLoggedInUser ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token )
$token Symfony\Component\Security\Core\Authentication\Token\TokenInterface

setEnabled() public method

public setEnabled ( $enabled )

setList() public method

public setList ( array $list )
$list array

supports() protected method

protected supports ( $attribute, $subject )