18 lines
295 B
PHP
18 lines
295 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
namespace Shared\DDD;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @template TId of \Shared\DDD\EntityId
|
||
|
|
* @template TEntity of \Shared\DDD\Entity
|
||
|
|
*
|
||
|
|
* @method TEntity|null find(TId $id)
|
||
|
|
* @method void persist(TEntity $entity)
|
||
|
|
* @method void delete(TEntity $entity)
|
||
|
|
*/
|
||
|
|
interface Repository
|
||
|
|
{
|
||
|
|
}
|