MCPcopy
hub / github.com/nestjs/nest / clear

Method clear

packages/core/injector/container.ts:310–312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

308 }
309
310 public clear() {
311 this.modules.clear();
312 }
313
314 public replace(toReplace: any, options: { scope: any[] | null }) {
315 this.modules.forEach(moduleRef => moduleRef.replace(toReplace, options));

Callers 5

container.spec.tsFile · 0.45
emptyMethod · 0.45
disposeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected