From 2a33e22bea2866e01d69c529da685dd9bcab1212 Mon Sep 17 00:00:00 2001 From: Mark Redeman Date: Mon, 13 Apr 2015 20:17:36 +0200 Subject: [PATCH] Use bindshared to fix #12 --- src/TmdbServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TmdbServiceProvider.php b/src/TmdbServiceProvider.php index 3d726b61..fc14f5ae 100644 --- a/src/TmdbServiceProvider.php +++ b/src/TmdbServiceProvider.php @@ -73,7 +73,7 @@ public function register() ); // Setup default configurations for the Tmdb Client - $this->app->bind('Tmdb\Client', function() { + $this->app->bindShared('Tmdb\Client', function() { $config = $this->provider->config(); $options = $config['options'];