Total Complexity | 2 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | trait HasExpiryDate |
||
11 | { |
||
12 | #[ORM\Column(type: 'datetime', nullable: true)] |
||
13 | private ?DateTimeInterface $expiryDate = null; |
||
14 | |||
15 | 1 | public function getExpiryDate(): ?DateTimeInterface |
|
16 | { |
||
17 | 1 | return $this->expiryDate; |
|
18 | } |
||
19 | |||
20 | 1 | public function setExpiryDate(?DateTimeInterface $expiryDate): void |
|
23 | } |
||
24 | } |
||
25 |