// Import framework stuff
use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
-use Org\Mxchange\CoreFramework\Stacker\Index\IndexableStack;
// Import SPL stuff
use \SplFileInfo;
// Get the handler instance
$indexInstance = self::createObjectByConfiguredName($type . '_file_stack_index_class', array($infoInstance));
- // Add check for interface
- assert($indexInstance instanceof IndexableStack);
-
// Add it to the registry
GenericRegistry::getRegistry()->addInstance($type . '_index', $indexInstance);
}