| Total Complexity | 6 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | trait DeadAndFireTrait |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @ORM\Column(type="boolean") |
||
| 11 | */ |
||
| 12 | private $dead = false; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @ORM\Column(type="boolean") |
||
| 16 | */ |
||
| 17 | private $fired = false; |
||
| 18 | |||
| 19 | public function getDead(): ?bool |
||
| 22 | } |
||
| 23 | |||
| 24 | public function isDead(): ?bool |
||
| 25 | { |
||
| 26 | return $this->dead; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function setDead(bool $dead): self |
||
| 30 | { |
||
| 31 | $this->dead = $dead; |
||
| 32 | |||
| 33 | return $this; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getFire(): ?bool |
||
| 37 | { |
||
| 38 | return $this->fired; |
||
| 39 | } |
||
| 40 | |||
| 41 | public function isFired(): ?bool |
||
| 44 | } |
||
| 45 | |||
| 46 | public function setFired(bool $fired): self |
||
| 47 | { |
||
| 53 |