The idea behind DI is that code deep, deep in your...
# announcements
c
The idea behind DI is that code deep, deep in your code base is materializing an instance and they have no idea (and no interest) how that instance was created. It could be production, testing, staging, mock... don't care. If you're using traits to achieve that functionality, you're completely missing out the point of this abstraction.