1
0
This repository has been archived on 2023-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
dtux__serveur-vote-lalis/include/condorcet/Documentation/Result Class/public Result--getCondorcetWinner.md

23 lines
604 B
Markdown
Raw Normal View History

2022-09-21 12:39:11 +02:00
## public Result::getCondorcetWinner
### Description
```php
public Result->getCondorcetWinner ( ): ?CondorcetPHP\Condorcet\Candidate
```
Get the Condorcet winner, if exist, at the result time.
### Return value:
*(```?CondorcetPHP\Condorcet\Candidate```)* CondorcetPHP\Condorcet\Candidate object if there is a Condorcet winner or NULL instead.
---------------------------------------
### Related method(s)
* [Result::getCondorcetLoser](../Result%20Class/public%20Result--getCondorcetLoser.md)
* [Election::getWinner](../Election%20Class/public%20Election--getWinner.md)