Skip to content

public Vote::removeCandidate ​

Read it at the source

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

Released under the MIT License.