public Vote::removeCandidate
Description
php
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