| 1 | <?php |
||
| 9 | class Player |
||
| 10 | { |
||
| 11 | /** @Type("string") */ |
||
| 12 | private $id; |
||
| 13 | |||
| 14 | /** @Type("string") */ |
||
| 15 | private $name; |
||
| 16 | |||
| 17 | /** @Type("boolean") */ |
||
| 18 | private $active = false; |
||
| 19 | |||
| 20 | public function getId(): ?string |
||
| 24 | |||
| 25 | public function setId(string $id): self |
||
| 31 | |||
| 32 | public function getName(): ?string |
||
| 36 | |||
| 37 | public function setName(?string $name): self |
||
| 43 | |||
| 44 | public function isActive(): bool |
||
| 48 | |||
| 49 | public function setActive(bool $active): self |
||
| 55 | } |
||
| 56 |