public static Condorcet::addMethod

November 22, 2025 ยท View on GitHub

Read it at the source

Description

public static Condorcet::addMethod ( string $methodClass ): bool

If you create your own Condorcet Algo. You will need it !

Parameter

methodClass: string

The class name implementing your method. The class name includes the namespace it was declared in (e.g. Foo\Bar).

Return value

(bool) True on Success. False on failure.


Related

  • Condorcet::getMethodClass()

Contents

  1. 1Description
  2. 2Parameter
  3. 2.1methodClass: string
  4. 3Return value
  5. 4Related