koin-core-ext / org.koin.experimental.builder / org.koin.dsl.context.ModuleDefinition / getForClass

getForClass

fun <T : Any> ModuleDefinition.getForClass(name: String = "", clazz: Class<T>, parameters: ParameterDefinition = emptyParameterDefinition()): T

Resolve a component from its class

Parameters

name -

clazz -

parameters -