What is the easiest way to recursively resolve dependency container dependencies? I’m trying to build my own DI container and are stuck at this stage.
What is the easiest way to recursively resolve dependency container dependencies? I’m trying to
Share
Actually, there are so many great DI containers already out there – if you cannot resist creating your own, they actually will help you get the idea.
Look at Pimple, and the DI containers of Symfony 2 and Zend Framework 2, at least.