Перевод на DDD
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use App\Domain\Patient\Contracts\PatientRepositoryInterface;
|
||||
use App\Infrastructure\Database\Repositories\Patient\PatientRepository;
|
||||
use App\Models\DepartmentPatient;
|
||||
use App\Models\ReportDuty;
|
||||
use App\Models\ReportNurse;
|
||||
@@ -24,6 +26,11 @@ class AppServiceProvider extends ServiceProvider
|
||||
});
|
||||
|
||||
$this->app->singleton(CacheInvalidator::class);
|
||||
|
||||
$this->app->bind(
|
||||
PatientRepositoryInterface::class,
|
||||
PatientRepository::class
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user