resetAll static method
void
resetAll()
- Hermetic Resets Wipes all DI scopes, root bindings, route ambient pools, persistence caches, and observers.
Implementation
static void resetAll() {
GraftDI.reset();
GraftRegistry.reset();
GraftRouteTracker.reset();
resetAmbientPersistence();
Graft.observer = null;
}