Speakers:
Drupal 8 has adopted the Symfony DependencyInjection Component as one of its core components. It provides you with a service container that can be configured in many interesting ways to construct your objects. When dependency injection itself is a relatively new concept for you, working with the DependencyInjection Component can be quite overwhelming though.
During this talk I will discuss some of the patterns in which dependency injection is often applied to classes. I will explain all about constructor arguments, setter injection and service factories. Then I'll show you how to implement these patterns of dependency injection using the Symfony DependencyInjection Component.
- Log in to post comments