Get the Newsletter

instance

A Method

instance(type: any, instance: any): FrameworkConfiguration

Adds an existing object to the framework's dependency injection container.

Parameters

type: any
The object type of the dependency that the framework will inject.
instance: any
The existing instance of the dependency that the framework will inject.

Returns

Returns the current FrameworkConfiguration instance.