feat(shared) : add timestampable/blamable trait and doctrine subscriber

This commit is contained in:
Matthieu
2026-06-19 14:37:28 +02:00
parent 52399b35d9
commit 3053c09522
10 changed files with 309 additions and 1 deletions
@@ -0,0 +1,16 @@
<?php
declare(strict_types=1);
namespace App\Shared\Domain\Contract;
interface BlamableInterface
{
public function getCreatedBy(): ?UserInterface;
public function setCreatedBy(?UserInterface $user): void;
public function getUpdatedBy(): ?UserInterface;
public function setUpdatedBy(?UserInterface $user): void;
}