static getProviders(type) {
    if (Providers.providers[type]) {
      return Providers.providers[type];
    }
  }
Retrives all providers of a given type.
@param {string} type - The type of the providers.
@returns {Provider[] | void} The collection of providers.