the requirements for dependency injection August 24, 2014 Don’t create class instances in other classes (if they are dependencies) — pass them into the class from outside. Don’t type-hint concrete classes — create interfaces.