In Chapter 1 I have deliberately not mentioned where the dependency injection container gets built because I knew it'll change. The new hotness is the existence of Bundles. Roughly, what Drupal provides in modules (a package of related code and functionality), is a bundle for Symfony. Bundles expose their contents through the dependency injection container and subscribe to events. All the kernel functionality described in chapter 1 is now added in the CoreBundle class. Modules can have their own bundles, too. So modules will define magic named classes to define their bundles (besides magic named functions for hooks) and have specific methods dictated by the BundleInterface, most bundles will only override build().
Commenting on this Story is closed.