18 lines
319 B
PHP
18 lines
319 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
namespace App\Contracts;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @template TModel of \Illuminate\Database\Eloquent\Model
|
||
|
|
* @template TId of \Ramsey\Uuid\UuidInterface|int
|
||
|
|
*
|
||
|
|
* @method TModel|null find(TId $id)
|
||
|
|
* @method void persist(TModel $model)
|
||
|
|
* @method void delete(TModel $model)
|
||
|
|
*/
|
||
|
|
interface Repository
|
||
|
|
{
|
||
|
|
}
|