public static Condorcet::getMethodClass

November 22, 2025 ยท View on GitHub

Read it at the source

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

Related

  • Condorcet::getAuthMethods()

Contents

  1. 1Description
  2. 2Parameter
  3. 2.1method: string
  4. 3Return value
  5. 4Throws:
  6. 5Related