code: function createPlatformFactory(parentPlatformFactory, name, providers) {
      if (providers === void 0) { providers = []; }
      var desc = "Platform: " + name;
      var marker = new InjectionToken(desc);
      return function (extraProviders) {
          if (extraProviders === void 0) { extraProviders = []; }
          var platform = getPlatform();
          if (!platform || platform.injector.get(ALLOW_MULTIPLE_PLATFORMS, false)) {
              if (parentPlatformFactory) {
                  parentPlatformFactory(providers.concat(extraProviders).concat({ provide: marker, useValue: true }));
              }
              else {
                  var injectedProviders = providers.concat(extraProviders).concat({ provide: marker, useValue: true });
                  createPlatform(Injector.create({ providers: injectedProviders, name: desc }));
              }
          }
          return assertPlatform(marker);
      };
  }
docs: Creates a factory for a platform
  
  @experimental APIs related to application bootstrap are currently under review.