<?php

namespace App\Payments;

use Illuminate\Support\ServiceProvider;

/**
 * Enlaza PaymentGatewayInterface -> pasarela concreta.
 * Para cambiar de pasarela, solo se modifica este binding.
 * Registrar en config/app.php (providers) o en bootstrap/providers.php.
 */
class PaymentServiceProvider extends ServiceProvider
{
    public function register(): void
    {
        $this->app->bind(PaymentGatewayInterface::class, PayPalGateway::class);
    }
}
