Stores the provided instance of type T in the DI container. This registered instance will be injected for dependencies of type T.
Nonetheless, types must be supported dependency types.
registerInterface to setup which implementation class (resp. instance) to inject for dependencies that specify an interface instead of a concrete type.
See Implementation
Stores the provided instance of type T in the DI container. This registered instance will be injected for dependencies of type T.
Nonetheless, types must be supported dependency types.