Перевод на доменную архитектуру
This commit is contained in:
11
app/Domain/Reports/Contracts/PatientSource.php
Normal file
11
app/Domain/Reports/Contracts/PatientSource.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\Reports\Contracts;
|
||||
|
||||
use App\Domain\Reports\Models\PatientCollection;
|
||||
use App\Domain\Reports\Models\ReportContext;
|
||||
|
||||
interface PatientSource
|
||||
{
|
||||
public function load(ReportContext $context): PatientCollection;
|
||||
}
|
||||
Reference in New Issue
Block a user