app->bindShared('setting', function ($app) { return new Repository(new SettingModel()); }); } }