Closed akrabat closed 7 years ago
We still would want to have DI Interoperability... so I guess we would simply create an Interface that people can implement on top of the DI Container of their choice.
Why create an interface? We should implement container-interop/container-interop
.
@JoeBengalen The set class does way more than containter-interop specifies... need to make sure that either
->get()
and ->has()
If slim defines a bunch of services using Set::protect()
, then other DI libraries also need to have that wired in.
This is loosely related too: https://github.com/slimphp/Slim/issues/1923
Closing - not happening.
Our needs for a DI container are really simple and we don't use anything in Pimple that we don't have in Set.
The main benefits are: