ldc-ovoteam/shared/DDD/Entity.php

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;
}