40 $config = static::getImportByType($typeId);
42 $import = Entity\EntityImportFactory::create($typeId);
44 $import->loadSettings($config->settings);
45 $import->loadCollision($config->collision);
46 $import->loadCriterion($config->criterion);
47 $import->loadLogger($config->logger);
66 $typeId = (int)$typeId;
69 if(!EntityType::IsDefined($typeId))
74 if(self::$instance[$typeId] ===
null)
76 $manager =
new static();
77 $manager->settings = $settings;
82 self::$instance[$typeId] = $manager;
84 return self::$instance[$typeId];