forClass

fun <T : Any> forClass(cls: KClass<T>): ServiceProducer<T>

Creates a producer for the given class.