| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | trait IsDlcTrait |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @ORM\Column(name="isDlc", type="boolean", nullable=false, options={"default":false}) |
||
| 9 | */ |
||
| 10 | private bool $isDlc = true; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Set isDlc |
||
| 14 | * @param bool $isDlc |
||
| 15 | * @return $this |
||
| 16 | */ |
||
| 17 | public function setIsDlc(bool $isDlc): static |
||
| 18 | { |
||
| 19 | $this->isDlc = $isDlc; |
||
| 20 | |||
| 21 | return $this; |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Get isDlc |
||
| 26 | * @return bool |
||
| 27 | */ |
||
| 28 | public function getIsDlc(): bool |
||
| 31 | } |
||
| 32 | } |
||
| 33 |