public Vote::removeCandidate
November 22, 2025 ยท View on GitHub
Description
public Vote->removeCandidate ( CondorcetPHP\Condorcet\Candidate|string $candidate ): true
Remove candidate from ranking. Set a new ranking and archive the old ranking.
Parameter
candidate: CondorcetPHP\Condorcet\Candidate|string
Candidate object or string.
Return value
(true) True on success.
Throws:
CondorcetPHP\Condorcet\Throwable\CandidateDoesNotExistException