Skip to content

Commit

Permalink
Add alias and register facebook
Browse files Browse the repository at this point in the history
  • Loading branch information
ymihaylov committed Feb 18, 2015
1 parent 375cfe3 commit 90fd92d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

use Illuminate\Foundation\AliasLoader;
use Illuminate\Support\ServiceProvider;
use App;

class LaravelSocialFeederServiceProvider extends ServiceProvider {

Expand All @@ -26,7 +27,10 @@ public function boot()
{
$this->package('despark/laravel-social-feeder');

App::register('SammyK\LaravelFacebookSdk\LaravelFacebookSdkServiceProvider');

AliasLoader::getInstance()->alias('SocialFeeder', 'Despark\LaravelSocialFeeder\SocialFeeder');
AliasLoader::getInstance()->alias('Facebook', 'SammyK\LaravelFacebookSdk\FacebookFacade');
}

/**
Expand Down

0 comments on commit 90fd92d

Please sign in to comment.