So dependency injection then. I understand the concepts (I think!) and the use of containers. What I am failing to understand is the best way to make your DI container available everywhere.
If you have a DB class, do you inject the container into the constructor? So that you can call the DI container methods to create the dependant objects?
Do you do the same for your config class, your mailer class, your logger class and so forth? How do you make your DI container available everywhere?
Help appreciated!