New-Thanasoft/thanasoft-back/app/Providers/RepositoryServiceProvider.php
2025-11-11 17:45:58 +03:00

30 lines
701 B
PHP

<?php
namespace App\Providers;
use App\Repositories\DeceasedRepositoryInterface;
use App\Repositories\DeceasedRepository;
use App\Repositories\InterventionRepositoryInterface;
use App\Repositories\InterventionRepository;
use Illuminate\Support\ServiceProvider;
class RepositoryServiceProvider extends ServiceProvider
{
/**
* Register services.
*/
public function register(): void
{
$this->app->bind(DeceasedRepositoryInterface::class, DeceasedRepository::class);
$this->app->bind(InterventionRepositoryInterface::class, InterventionRepository::class);
}
/**
* Bootstrap services.
*/
public function boot(): void
{
//
}
}