useWith

fun useWith(vararg dynamics: Any): Kontainer

Creates a kontainer instance and overrides the given dynamic services.

Throws

when there is a problem with the kontainer configuration