| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | trait StatusTrait |
||
| 12 | { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @ORM\Column(type="integer", nullable=true) |
||
| 16 | */ |
||
| 17 | private $status; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return int|null |
||
| 21 | */ |
||
| 22 | public function getStatus(): ?int |
||
| 23 | { |
||
| 24 | return $this->status; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param int|null $status |
||
| 29 | * @return StatusTrait |
||
| 30 | */ |
||
| 31 | public function setStatus(?int $status): self |
||
| 36 | } |
||
| 37 | } |
||
| 38 |