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