wrapper which is okay.
Signed-off-by: Roland Haeder <roland@mxchange.org>
$managerInstance = new CityManager();
// Get database wrapper
- $wrapperInstance = ObjectFactory::createObjectByConfiguredName('city_info_db_wrapper_class');
+ $wrapperInstance = DatabaseWrapperFactory::createWrapperByConfiguredName('city_info_db_wrapper_class');
// And set it here
$managerInstance->setWrapperInstance($wrapperInstance);
$managerInstance = new CityMapManager();
// Get database wrapper
- $wrapperInstance = ObjectFactory::createObjectByConfiguredName('city_map_db_wrapper_class');
+ $wrapperInstance = DatabaseWrapperFactory::createWrapperByConfiguredName('city_map_db_wrapper_class');
// And set it here
$managerInstance->setWrapperInstance($wrapperInstance);
$managerInstance = new RegionManager();
// Get database wrapper
- $wrapperInstance = ObjectFactory::createObjectByConfiguredName('region_info_db_wrapper_class');
+ $wrapperInstance = DatabaseWrapperFactory::createWrapperByConfiguredName('region_info_db_wrapper_class');
// And set it here
$managerInstance->setWrapperInstance($wrapperInstance);
$managerInstance = new RegionMapManager();
// Get database wrapper
- $wrapperInstance = ObjectFactory::createObjectByConfiguredName('region_map_db_wrapper_class');
+ $wrapperInstance = DatabaseWrapperFactory::createWrapperByConfiguredName('region_map_db_wrapper_class');
// And set it here
$managerInstance->setWrapperInstance($wrapperInstance);
*/
public function registerNewUser () {
// Get a user database wrapper
- $wrapperInstance = ObjectFactory::createObjectByConfiguredName('user_db_wrapper_class');
+ $wrapperInstance = DatabaseWrapperFactory::createWrapperByConfiguredName('user_db_wrapper_class');
// Use this instance to insert the whole registration instance
$wrapperInstance->insertRegistrationObject($this);
-Subproject commit 7a04a994e89aaa587b9163b5a0e37a9c00443408
+Subproject commit ea315b99e09ba2c222006947a7dbc605bf0f437e