implements a middleware stack for modular resolution of parameters to values
This package is auto-updated.
Last update: 2021-04-25 12:34:06 UTC
This library implements a middleware stack for modular resolution of parameters to functions, closures, methods and constructors.
You can use this library to implement invokers or factories, in Dependency Injection containers, controller dispatchers in web-frameworks, and so forth.
This library provides components for integration with any container-interop-compliant dependency-injection container, in the form of resolvers (middleware) that resolves either type-hints or parameter-names against IDs in a container.
Pretty simple, but best explained by example.