removeInjectable

open override fun <T : Any> removeInjectable(type: KClass<T>, environment: String?)

This method allows to remove an injectable instance at runtime.

Parameters

type

Is the type of the instance you would like to remove

environment

The environment the instance is attached to