import { NgModule, ModuleWithProviders } from '@angular/core';

import { ServiceProtocolService } from './services/service-protocol.service';

const SERVICES = [ServiceProtocolService];

@NgModule({
  declarations: [],
  imports: [],
  exports: []
})
export class UCapServiceProtocolModule {
  public static forRoot(): ModuleWithProviders<UCapServiceProtocolModule> {
    return {
      ngModule: UCapServiceProtocolModule,
      providers: [...SERVICES]
    };
  }
}
