Skip to content

Commit

Permalink
bindShared -> singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidesu committed Feb 25, 2016
1 parent a7cf753 commit de1b1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BonsaiServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function register()
*/
protected function registerServices()
{
$this->app->bindShared('bonsai', function($app) {
$this->app->singleton('bonsai', function($app) {
return new Bonsai($app['view']);
});
}
Expand Down

0 comments on commit de1b1d6

Please sign in to comment.