Page Contents

Home > @loopback/service-proxy > ApplicationWithServices > serviceProvider

ApplicationWithServices.serviceProvider() method

Signature:

serviceProvider<S>(provider: Constructor<Provider<S>>, name?: string): Binding<S>;

Parameters

Parameter Type Description
provider Constructor<Provider<S>>  
name string (Optional)

Returns:

Binding<S>