bindInstance

abstract fun bindInstance(tag: Any? = null, overrides: Boolean? = null, instance: T)

Binds an instance to both the set and the DI container.

Parameters

tag

The tag to bind in the DI container.

overrides

Whether this bind must or must not override an existing binding.

instance

The instance to bind.