* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CachetHQ\Cachet\Providers; use CachetHQ\Cachet\Config\Repository; use CachetHQ\Cachet\Models\Setting as SettingModel; use Illuminate\Support\ServiceProvider; class SettingsServiceProvider extends ServiceProvider { /** * Boot the service provider. */ public function boot() { // } /** * Register the service provider. */ public function register() { $this->app->bindShared('setting', function () { return new Repository(new SettingModel()); }); } }