Symfony\Component\Security\Authorization\AccessDecisionManager::addVoter PHP 메소드

addVoter() 공개 메소드

Adds a voter.
public addVoter ( Symfony\Component\Security\Authorization\Voter\VoterInterface $voter )
$voter Symfony\Component\Security\Authorization\Voter\VoterInterface A VoterInterface instance
    public function addVoter(VoterInterface $voter)
    {
        $this->voters[] = $voter;
    }