/**
  * Reset the "administrator" config namespace
  */
 protected function resetConfigNamespace()
 {
     // Overwrite the namespaces
     // Config::getLoader()->addNamespace('administrator', $this->getConfigPath());
     Config::addNamespace('administrator', $this->getConfigPath());
     // Immediately call the config and load the files
     return Config::get('administrator::administrator');
 }
 /**
  * Construct new ModelImporter.
  *
  * @param Illuminate\Validation\Factory       $validator
  * @param Illuminate\Database\DatabaseManager $db
  */
 public function __construct(DB $db, Validator $validator)
 {
     $this->db = $db;
     $this->validator = $validator;
     $this->parents = [];
     $this->children = [];
     $this->importable_model = null;
     $this->errorMessageBag = new MessageBag();
     $this->validationMessageBag = new MessageBag();
     $this->injected_data = null;
     $this->injected_data_pairs = [];
     Config::addNamespace('model-importer', __DIR__ . '/../../config');
     $this->set_matching = Config::get('model-importer::config.set_matching');
 }