82 - Refactoring to a Facade

This commit is contained in:
Adam Wathan
2017-03-13 19:07:47 -04:00
parent ed87106e4d
commit 442cc3f240
3 changed files with 20 additions and 4 deletions

View File

@@ -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);
}
}