How the Service Container is built

saro0h

Let's take a look at how the service container is built when the Drupal kernel is booted. First, we'll talk about what's a service and what is all about the service container. Then we will begin our journey by seeing what's going on in this ``$kernel->handle($request);`` instruction in the front controller of Drupal. And to finish, we'll see when to hook up some code to extend the container to take advantage of the power of the Dependency Injection Container.

 

Session Track

Symfony

Experience Level

Advanced

Drupal Version