lib/builder/constructor-builder.js
function registerTypeById(type) {
    if (registryLogger.isDebugEnabled()) {
        registryLogger.debug('Register Type \'%s\' by id [%s]', type.typeName, type.id);
    }
    if(type.id) {
        typeById[type.id] = type;
    }
    return type;
}
function registerTypeById(type) {
    if (registryLogger.isDebugEnabled()) {
        registryLogger.debug('Register Type \'%s\' by id [%s]', type.typeName, type.id);
    }
    if(type.id) {
        typeById[type.id] = type;
    }
    return type;
}
function registerTypeById ( type ) { if ( registryLogger . isDebugEnabled ( ) ) { registryLogger . debug ( 'Register Type \'%s\' by id [%s]' , type . typeName , type . id ) ; } if ( type . id ) { typeById [ type . id ] = type ; } return type ; }
Register a Type constructor by id
Register a Type constructor by id