30 lines
701 B
PHP
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
|
|
{
|
|
//
|
|
}
|
|
}
|