klyn.di.DIContext.DIContext
constructor
public DIContext():
Description

Creates an empty dependency injection context.

import klyn.di

context = DIContext()
context.registerComponent("service", Object())