forClass

fun forClass(cls: KClass<*>): ServiceProducer

Creates a producer for the given class.