diff --git a/src/container-provider.class.ts b/src/container-provider.class.ts index bcbe239..94c5ffb 100644 --- a/src/container-provider.class.ts +++ b/src/container-provider.class.ts @@ -16,4 +16,13 @@ export class TypeDIContainerProvider implements ContainerInterface { return Container.get(constructable as Constructable); } + + /** + * Completely resets the container by removing all previously registered services and handlers from it. + * @param containerId + * @returns + */ + reset(containerId?: string | undefined) { + return Container.reset(containerId); + } }