ldc-boutique-cnc-sable/shared/DDD/Entity.php

15 lines
169 B
PHP
Raw Permalink Normal View History

2026-06-14 21:32:07 +02:00
<?php
declare(strict_types=1);
namespace Shared\DDD;
/**
* @template T of EntityId
*/
interface Entity
{
/** @return T */
public function id(): EntityId;
}