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

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

const SERVICES = [OptionProtocolService];

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