transient(type: any, implementation?: Function): FrameworkConfiguration
Adds a transient to the framework's dependency injection container.
Parameters
type: any
The object type of the dependency that the framework will inject.
implementation?: Function
The constructor function of the dependency that the framework will inject.
Returns
Returns the current FrameworkConfiguration instance.