protected function executeConfig()
 {
     $appConnectionsModel = new ModelAppConnections();
     Filters::registerAction([Config::className(), Config::EVENT_AFTER_INSERT], [$appConnectionsModel, 'insertConnectionFromFilter'], $this->app);
     // Deleting manually the already assigned configs
     if ($this->preMethod == 'down') {
         $modelConfig = new ModelConfig();
         $modelConfig->deleteAppConfigItems($this->app->id);
     }
     $methodParams = NULL;
     // Declare the parameters passed into the method
     if ($this->preMethod == 'update') {
         $methodParams = $this->app->version;
     }
     call_user_func([$this->installationObject, $this->preMethod . 'Config'], $methodParams);
     Filters::unRegisterAction([Config::className(), Config::EVENT_AFTER_INSERT]);
 }