public static Condorcet::getMethodClass
November 22, 2025 ยท View on GitHub
Description
public static Condorcet::getMethodClass ( string $method ): ?string
Return the full class path for a method.
Parameter
method: string
A valid method name.
Return value
(?string) Return null is method not exist.
Throws:
CondorcetPHP\Condorcet\Throwable\VotingMethodIsNotImplemented