ResetInstance extension

on

Methods

resetInstance({bool clearRouteBindings = true}) bool
Clears all registered instances (and/or tags). Even the persistent ones. This should be used at the end or tearDown of unit tests.