Skip to content

1.0.0

Latest

Choose a tag to compare

@Stedis23 Stedis23 released this 31 Oct 14:57

A simple service locator has been implemented to replace dependency injection libraries.
Added:

  • Module: Container for dependencies. Created via the module function.
  • module(): Function to create a module with optional dependencies from other modules.
  • factory(): Registers a factory for creating new instances.
  • singleton(): Registers a singleton for a shared instance.
  • instance(): Retrieves a dependency instance.
  • Provider: Interface for lazy initialization.
  • Qualifier: Class for naming dependencies.