26 lines
558 B
Markdown
26 lines
558 B
Markdown
|
## public Candidate::__construct
|
||
|
|
||
|
### Description
|
||
|
|
||
|
```php
|
||
|
public Candidate->__construct ( string $name )
|
||
|
```
|
||
|
|
||
|
Build a candidate.
|
||
|
|
||
|
|
||
|
##### **name:** *```string```*
|
||
|
Candidate Name.
|
||
|
|
||
|
---------------------------------------
|
||
|
|
||
|
### Related method(s)
|
||
|
|
||
|
* [Candidate::setName](../Candidate%20Class/public%20Candidate--setName.md)
|
||
|
|
||
|
---------------------------------------
|
||
|
|
||
|
### Examples and explanation
|
||
|
|
||
|
* **[Manual - Create Candidates](https://github.com/julien-boudry/Condorcet/wiki/II-%23-A.-Create-an-Election-%23-2.-Create-Candidates)**
|