22 lines
729 B
Markdown
22 lines
729 B
Markdown
## public Election::computeResult
|
|
|
|
### Description
|
|
|
|
```php
|
|
public Election->computeResult ( [?string $method = null] ): void
|
|
```
|
|
|
|
Really similar to Election::getResult() but not return anything. Just calculates silently and fill the cache.
|
|
|
|
|
|
##### **method:** *```?string```*
|
|
Not requiered for use object default method. Set the string name of the algorithm for use an specific one.
|
|
|
|
---------------------------------------
|
|
|
|
### Related method(s)
|
|
|
|
* [Election::getWinner](../Election%20Class/public%20Election--getWinner.md)
|
|
* [Election::getResult](../Election%20Class/public%20Election--getResult.md)
|
|
* [Condorcet::getDefaultMethod](../Condorcet%20Class/public%20Condorcet--getDefaultMethod.md)
|