initial commit
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use App\Domain\Integration\MachineProviderInterface;
|
||||
use App\Domain\Integration\SimulatedMachineProvider;
|
||||
use App\Services\AuditService;
|
||||
use App\Services\BookingService;
|
||||
use App\Services\MachineIntegrationService;
|
||||
use App\Services\PaymentService;
|
||||
use App\Services\PricingService;
|
||||
use App\Services\WalletService;
|
||||
use App\Services\WashService;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class IntegrationServiceProvider extends ServiceProvider
|
||||
{
|
||||
public function register(): void
|
||||
{
|
||||
$this->app->singleton(SimulatedMachineProvider::class);
|
||||
$this->app->singleton(MachineIntegrationService::class);
|
||||
|
||||
$this->app->bind(MachineProviderInterface::class, SimulatedMachineProvider::class);
|
||||
|
||||
$this->app->singleton(WalletService::class);
|
||||
$this->app->singleton(PricingService::class);
|
||||
$this->app->singleton(AuditService::class);
|
||||
$this->app->singleton(BookingService::class);
|
||||
$this->app->singleton(WashService::class);
|
||||
$this->app->singleton(PaymentService::class);
|
||||
}
|
||||
|
||||
public function boot(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user