Skip to content

public static Condorcet::getMethodClass

Read it at the source

Description

php
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

Released under the MIT License.