single<T> method
Implementation
void single<T>(Definition<T> definition, {Qualifier? qualifier}) {
final BeanDefinition<T> def =
Definitions.createSingle(rootScope, qualifier, definition);
definitions.add(def);
}
void single<T>(Definition<T> definition, {Qualifier? qualifier}) {
final BeanDefinition<T> def =
Definitions.createSingle(rootScope, qualifier, definition);
definitions.add(def);
}