Requests for comment/Dependency injection/2014

This RFC proposes a lightweight mechanism for dependency injection. An implementation with tests and examples is provided. A facility like this could eventually be combined with improved autoloading, and could be added to core as a first step in an iterative development process. Other options are also discussed.