633 B
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