40 lines
1.2 KiB
PHP
40 lines
1.2 KiB
PHP
<?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\StripePaymentService;
|
|
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(StripePaymentService::class);
|
|
$this->app->singleton(PaymentService::class);
|
|
}
|
|
|
|
public function boot(): void
|
|
{
|
|
//
|
|
}
|
|
}
|