assert($indexInstance instanceof IndexableStack);
// Add it to the registry
- Registry::getRegistry()->addInstance($type . '_index', $indexInstance);
+ GenericRegistry::getRegistry()->addInstance($type . '_index', $indexInstance);
}
// Return the instance