wp-di
wp-di copied to clipboard
Use compiler layer or mediator to WP
Right now the provider takes care of compiling service definitions into a WP-like structure. This does not seem like a single purpose, because the provider should just pass things to the container. We want to use some kind of Compiler/... classes that register things in WordPress and turn the service definition into something usable for the provider.
- This still is no single purpose thing but a step forward.
- In addition we could not use other types of DI container.