PHP Class Eccube\Security\Voter\AuthorityVoter

Inheritance: implements Symfony\Component\Security\Core\Authorization\Voter\VoterInterface
Show file Open project: ec-cube/ec-cube Class Usage Examples

Public Properties

Property Type Description
$app

Public Methods

Method Description
__construct ( Application $app )
supportsAttribute ( $attribute )
supportsClass ( $class )
vote ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token, $object, array $attributes )

Method Details

__construct() public method

public __construct ( Application $app )
$app Eccube\Application

supportsAttribute() public method

public supportsAttribute ( $attribute )

supportsClass() public method

public supportsClass ( $class )

vote() public method

public vote ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token, $object, array $attributes )
$token Symfony\Component\Security\Core\Authentication\Token\TokenInterface
$attributes array

Property Details

$app public property

public $app