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

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

const SERVICES = [EventProtocolService];

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