app->bind('activity', function() { return new ActivityService($this->app->make('Oxbow\Activity')); }); $this->app->bind('setting', function() { return new SettingService( $this->app->make('Oxbow\Setting'), $this->app->make('Illuminate\Contracts\Cache\Repository') ); }); } }