| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | trait NbPlayerTrait |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @ORM\Column(name="nbPlayer", type="integer", nullable=false, options={"default":0}) |
||
| 9 | */ |
||
| 10 | private int $nbPlayer = 0; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Set nbPlayer |
||
| 14 | * |
||
| 15 | * @param integer $nbPlayer |
||
| 16 | * @return $this |
||
| 17 | */ |
||
| 18 | public function setNbPlayer(int $nbPlayer): static |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Get nbPlayer |
||
| 27 | * |
||
| 28 | * @return integer |
||
| 29 | */ |
||
| 30 | public function getNbPlayer(): int |
||
| 35 |