* Adds an existing object to the framework's dependency injection container. * @param type The object type of the dependency that the framework will inject. * @param instance The existing instance of the dependency that the framework will inject. * @return Returns the current FrameworkConfi
(type: any, instance: any)
| 231 | * @return Returns the current FrameworkConfiguration instance. |
| 232 | */ |
| 233 | instance(type: any, instance: any): FrameworkConfiguration { |
| 234 | this.container.registerInstance(type, instance); |
| 235 | return this; |
| 236 | } |
| 237 | |
| 238 | /** |
| 239 | * Adds a singleton to the framework's dependency injection container. |
no outgoing calls
no test coverage detected