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/Algo_Pairwise Class/public Algo_Pairwise--getObjectVersion.md

26 lines
585 B
Markdown
Raw Normal View History

2022-09-21 12:39:11 +02:00
## public Algo\Pairwise::getObjectVersion
### Description
```php
public Algo\Pairwise->getObjectVersion ( [bool $major = false] ): string
```
Get the Condorcet PHP version who built this Election object. Usefull pour serializing Election.
##### **major:** *```bool```*
true will return : '2.0' and false will return : '2.0.0'.
### Return value:
*(```string```)* Condorcet PHP version.
---------------------------------------
### Related method(s)
* [static Condorcet::getVersion](../Condorcet%20Class/public%20static%20Condorcet--getVersion.md)