Example #1
0
 protected function registerConfig(Application $app)
 {
     parent::registerConfig($app);
     foreach ($this->getComponentPaths() as $component_paths) {
         foreach ($component_paths as $path) {
             $app->register(new ConfigServiceProvider("{$path}/main.yml"));
         }
     }
 }