public Election::computeResult

February 21, 2026 ยท View on GitHub

Read it at the source

Description

public Election->computeResult ( [?string $method = null] ): void

Really similar to Election::getResult() but not return anything. Just calculates silently and fill the cache.

Parameter

method: ?string

Not requiered for use object default method. Set the string name of the algorithm for use an specific one.


Related

  • Condorcet::getDefaultMethod()

Contents

  1. 1Description
  2. 2Parameter
  3. 2.1method: ?string
  4. 3Related