| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | #[ORM\Table(name:'dwh_game')] |
||
| 14 | #[ORM\Entity(repositoryClass: GameRepository::class)] |
||
| 15 | class Game |
||
| 16 | { |
||
| 17 | use DateTrait; |
||
| 18 | use NbPostDay; |
||
| 19 | use VgrCoreTraits\Entity\NbPostTrait; |
||
| 20 | |||
| 21 | #[ORM\Id, ORM\Column] |
||
| 22 | private ?int $id; |
||
| 23 | |||
| 24 | public function __toString() |
||
| 27 | } |
||
| 28 | |||
| 29 | public function setId(int $id): void |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getId(): ?int |
||
| 35 | { |
||
| 36 | return $this->id; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function setFromArray(array $row): void |
||
| 43 | } |
||
| 44 | } |
||
| 46 |