/** * Update the view paths. * * @return void */ private function registerStoreConfig(Store $store) { // merge store config into global config foreach ($store->getConfig() as $item) { $this->app['config']->set('store.' . $item->key, $item->value); } }