public Election::getCandidateObjectFromName
February 24, 2026 ยท View on GitHub
Description
public Election->getCandidateObjectFromName ( string $candidateName ): ?CondorcetPHP\Condorcet\Candidate
Find the candidate object from its name and return it.
Parameter
candidateName: string
Name of the candidate.
Return value
(?CondorcetPHP\Condorcet\Candidate) Candidate object