mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-02-03 22:48:13 +00:00
82 - Refactoring to a Facade
This commit is contained in:
@@ -5,6 +5,8 @@ namespace App\Providers;
|
||||
use App\Billing\PaymentGateway;
|
||||
use App\Billing\StripePaymentGateway;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use App\OrderConfirmationNumberGenerator;
|
||||
use App\RandomOrderConfirmationNumberGenerator;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
@@ -30,5 +32,6 @@ class AppServiceProvider extends ServiceProvider
|
||||
});
|
||||
|
||||
$this->app->bind(PaymentGateway::class, StripePaymentGateway::class);
|
||||
$this->app->bind(OrderConfirmationNumberGenerator::class, RandomOrderConfirmationNumberGenerator::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user