constant
abstract fun constant(tag: Any, overrides: Boolean? = null): DI.Builder.ConstantBinder
Content copied to clipboard
Starts a constant binding.
Return
The binder: call with on it to finish the binding syntax and register the binding.
Parameters
tag
The tag to bind.
overrides
Whether this bind must or must not override an existing binding.