MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / GreeterTemplate

Class GreeterTemplate

examples/context/src/parameterized-decoration.ts:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 ...tags: BindingTag[]
31): Constructor<Greeter> {
32 @injectable({tags})
33 class GreeterTemplate implements Greeter {
34 constructor(@inject(bindingKeyForName) private userName: string) {}
35
36 hello() {
37 return `Hello, ${this.userName}`;
38 }
39 }
40 return GreeterTemplate;
41}
42

Callers

nothing calls this directly

Calls 1

injectableFunction · 0.90

Tested by

no test coverage detected