ktp / toothpick.ktp.binding / CanBeBound / singleton

singleton

fun singleton(): CanBeReleasable<T>

DSL method to make a binding Singleton.

Return
a binding statement for this key, with the implementation class {@code implClass} that can be further customized.