fun <T : Any> Module.bind(key: KClass<T>): CanBeNamed<T>
DSL method to start a binding statement.
key - the {@link KClass} used as a key for this binding.
Return
a binding statement for this key, that can be further customized.
See Also
inline fun <reified T : Any> Module.bind(): CanBeNamed<T>
DSL method to start a binding statement, using reified types for a more Kotlin friendly syntax.
T - the {@link KClass} used as a key for this binding.
Return
a binding statement for this key, that can be further customized.
See Also