public function addAuthorizationVoter(VoterInterface $voter)
    {
        if (!in_array($voter, $this->voters)) {
            $this->voters[] = $voter;
        }
    }
public function addAuthorizationVoter(VoterInterface $voter)
    {
        if (!in_array($voter, $this->voters)) {
            $this->voters[] = $voter;
        }
    }
public function addAuthorizationVoter ( VoterInterface $ voter ) { if ( ! in_array ( $ voter , $ this -> voters ) ) { $ this -> voters [ ] = $ voter ; } }
Add additional voter to authorization module.
@param VoterInterface $voter
Add additional voter to authorization module .