February 2017
Beginner
278 pages
5h 54m
English
In this chapter, we'll explain how to take advantage of the dependency injection (DI) mechanism of the framework, with all its various features.
We will explore the following topics:
Let's suppose that we have a Car class that depends on Engine and Transmission classes. How can we implement this system? Let's take a look:
class Engine {...} class Transmission ...Read now
Unlock full access