also looking at this
Collection Response
#5
7 files
+42
-51
Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.
| @@ -1,21 +0,0 @@ | ||
| 1 | <?php | |
| 2 | ||
| 3 | namespace Meema\LaravelMeema; | |
| 4 | ||
| 5 | use Illuminate\Support\Facades\Facade; | |
| 6 | ||
| 7 | /** | |
| 8 | * @see \Meema\LaravelMeema\MeemaClass | |
| 9 | */ | |
| 10 | class MeemaFacade extends Facade | |
| 11 | { | |
| 12 | /** | |
| 13 | * Get the registered name of the component. | |
| 14 | * | |
| 15 | * @return string | |
| 16 | */ | |
| 17 | protected static function getFacadeAccessor() | |
| 18 | { | |
| 19 | return 'meema'; | |
| 20 | } | |
| 21 | } | |
| @@ -53,7 +53,10 @@ class MeemaServiceProvider extends ServiceProvider | ||
| 53 | 53 | protected function registerMeemaClient() |
| 54 | 54 | { |
| 55 | 55 | $this->app->singleton('meema', function ($app) { |
| 56 | $config = ['base_url' => config('meema.meema_test_url')]; | |
| 56 | $config = [ | |
| 57 | 'base_url' => config('meema.meema_test_url'), | |
| 58 | 'to_collection' => config('meema.to_collection') | |
| 59 | ]; | |
| 57 | 60 | |
| 58 | 61 | return new Client(config('meema.api_key'), $config); |
| 59 | 62 | }); |