$wrapperInstance = $registryInstance->getInstance($wrapperName);
} else {
// Get the registry instance
- $wrapperInstance = ObjectFactory::createObjectByConfiguredName($wrapperName);
+ $wrapperInstance = self::createObjectByConfiguredName($wrapperName);
// Set the instance in registry for further use
$registryInstance->addInstance($wrapperName, $wrapperInstance);