unaryPlus

public final Unit unaryPlus(String $self)

this operator takes string which is used as a key for the given dependency this is useful when you have two or more dependencies of the same type


public final Unit unaryPlus(KClass<?> $self)

this operator takes KClass which specify where the given dependency is going tobe injected