Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
asamaru7 authored Jan 30, 2017
1 parent 7ac12cd commit 026b9b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Orangehill/Iseed/IseedServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function register()
{
$this->registerResources();

$this->app['iseed'] = $this->app->share(function($app) {
$this->app->singleton('iseed', function($app) {
return new Iseed;
});
if (class_exists('Illuminate\Foundation\AliasLoader')) {
Expand All @@ -44,7 +44,7 @@ public function register()
class_alias('Orangehill\Iseed\Facades\Iseed', 'Iseed');
}

$this->app['command.iseed'] = $this->app->share(function($app) {
$this->app->singleton('command.iseed', function($app) {
return new IseedCommand;
});
$this->commands('command.iseed');
Expand Down Expand Up @@ -78,4 +78,4 @@ protected function registerResources()

$this->app['config']->set('iseed::config', $config);
}
}
}

0 comments on commit 026b9b0

Please sign in to comment.