| Total Complexity | 5 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | trait DeleteableTrait |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var DateTime|null |
||
| 20 | */ |
||
| 21 | protected $deletedAt; |
||
| 22 | |||
| 23 | public function getDeletedAt(): ?DateTime |
||
| 26 | } |
||
| 27 | |||
| 28 | public function setDeletedAt(?DateTime $deletedAt): void |
||
| 29 | { |
||
| 30 | $this->deletedAt = $deletedAt; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function setDeleted(bool $deleted): void |
||
| 39 | } |
||
| 40 | } |
||
| 41 | |||
| 42 | public function isDeleted(): bool |
||
| 45 | } |
||
| 46 | } |
||
| 47 |