ldc-boutique-cnc-sable/shared/DDD/Entity.php
2026-10-27 09:58:12 +01:00

14 lines
169 B
PHP

<?php
declare(strict_types=1);
namespace Shared\DDD;
/**
* @template T of EntityId
*/
interface Entity
{
/** @return T */
public function id(): EntityId;
}