Feat: Make some entities soft-deletable
This commit is contained in:
1 parent
168a69c103
commit
d7bbb4bb29
27 files changed
+213
-63
No files matched your search
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity;
|
||||
|
||||
interface SoftDeletableEntityInterface
|
||||
{
|
||||
public function getDeletedAt(): ?\DateTimeImmutable;
|
||||
|
||||
public function setDeletedAt(\DateTimeImmutable $createdAt): static;
|
||||
}
|
||||
Reference in new issue
Block a user