Constructor.
public __construct ( array $voters = [], string $strategy = 'affirmative', boolean $allowIfAllAbstainDecisions = false, $allowIfEqualGrantedDeniedDecisions = true ) | ||
$voters | array | An array of VoterInterface instances |
$strategy | string | The vote strategy |
$allowIfAllAbstainDecisions | boolean | Whether to grant access if all voters abstained or not |