Перевод на DDD
This commit is contained in:
11
app/Domain/Patient/Contracts/PatientRepositoryInterface.php
Normal file
11
app/Domain/Patient/Contracts/PatientRepositoryInterface.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\Patient\Contracts;
|
||||
|
||||
use Illuminate\Support\Collection;
|
||||
|
||||
interface PatientRepositoryInterface
|
||||
{
|
||||
public function getCurrentByDepartmentId(int $departmentId): ?Collection;
|
||||
public function getById(int $patientId);
|
||||
}
|
||||
Reference in New Issue
Block a user