@lppedd/di-wise-neo - v0.11.1
    Preparing search index...

    Function inject

    • Injects the instance associated with the given class.

      Throws an error if the class is not registered in the container.

      Type Parameters

      • Instance extends object

      Parameters

      Returns Instance

    • Injects the value associated with the given token.

      Throws an error if the token is not registered in the container.

      Type Parameters

      • Value

      Parameters

      Returns Value