fun <T : Any> newInstance(kodein: DKodein, cls: Class<T>): T
Creates a new just-in-time instance of the given class.
cls - The type of object to create.
inline fun <reified T : Any> newInstance(kodein: DKodein): T
Creates a new just-in-time instance of the given class.