DX: Improve dependency injection container reference
ArthurHoaro opened this issue · comments
Follow-up of #1972 (review)
With the latest upgrade to Slim 4, we use a DI container that doesn't provide any type hinting. It makes working with the container pretty hard, and prone to error, because any type hint must be done explicitly during usage.
We should be able to figure out a solution which could let us have type hinting when using container's attributes.