From 25d77c4848894c66c208c56b6c2822d91266b58d Mon Sep 17 00:00:00 2001 From: Davis Peixoto Date: Thu, 11 Aug 2016 17:56:23 -0300 Subject: [PATCH] improving --- .../LaravelSalesforce/LaravelSalesforceServiceProvider.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Davispeixoto/LaravelSalesforce/LaravelSalesforceServiceProvider.php b/src/Davispeixoto/LaravelSalesforce/LaravelSalesforceServiceProvider.php index 6d3c97d..2f0f6ea 100644 --- a/src/Davispeixoto/LaravelSalesforce/LaravelSalesforceServiceProvider.php +++ b/src/Davispeixoto/LaravelSalesforce/LaravelSalesforceServiceProvider.php @@ -6,7 +6,6 @@ class LaravelSalesforceServiceProvider extends ServiceProvider { - /** * Indicates if loading of the provider is deferred. * @@ -31,11 +30,6 @@ public function boot() */ public function register() { - $this->app->booting(function () { - $loader = \Illumintate\Foundation\AliasLoader::getInstance(); - $loader->alias('Salesforce', 'Davispeixoto\LaravelSalesforce\Facades\Salesforce'); - }); - $this->app['salesforce'] = $this->app->share(function ($app) { return new Salesforce($app['config']); });