1
0
This repository has been archived on 2023-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
dtux__serveur-vote-lalis/include/condorcet/Documentation/Vote Class/public Vote--removeCandidate.md
2022-09-21 14:01:45 +02:00

633 B

public Vote::removeCandidate

Description

public Vote->removeCandidate ( CondorcetPHP\Condorcet\Candidate|string $candidate ): bool

Remove candidate from ranking. Set a new ranking and archive the old ranking.

candidate: CondorcetPHP\Condorcet\Candidate|string

Candidate object or string.

Return value:

(bool) True on success.

Throws:

  • CondorcetPHP\Condorcet\Throwable\CandidateDoesNotExistException