ResetInstance extension

on

Methods

resetInstance({bool clearRouteBindings = true}) bool

Available on GetInterface, provided by the ResetInstance extension

Clears all registered instances (and/or tags). Even the persistent ones. This should be used at the end or tearDown of unit tests.