MCPcopy
hub / github.com/loopbackio/loopback-next / MyServiceProvider

Class MyServiceProvider

packages/core/src/__tests__/unit/service.unit.ts:395–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393
394 it('creates a service binding from a provider', () => {
395 @injectable()
396 class MyServiceProvider implements Provider<string> {
397 value() {
398 return 'provided-value';
399 }
400 }
401
402 const binding = createServiceBinding(MyServiceProvider);
403

Callers

nothing calls this directly

Calls 1

injectableFunction · 0.90

Tested by

no test coverage detected