Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

SymfonyCasts

Journey to the Center of Symfony: The Dependency Injection Container

via SymfonyCasts

Overview

Let's not just use Symfony, let's conquer it! In this series, we're going to rip open the code that builds and boots Symfony's Container to see how it really works. Yes, this is geeky, and yes it's sweet!

Besides the occasional dinosaur, expect to do the following on our adventure:

  • Build a container from scratch
  • Master the ContainerBuilder and Definition objects: the backbones to the container
  • See how Definitions are built with YAML
  • Dump the container to PHP code and use it
  • See how Symfony builds the container (woh)
  • Learn how DependencyInjection Extension classes work (i.e. the guys who process all that config.yml stuff)
  • Discover existing compiler passes and create your own

Syllabus

  • Creating a Container in the Wild
  • Definitions: Teach the Container
  • Definition Unlocked
  • Yaml for Service Definitions
  • Parameters
  • The Container Dumper
  • How Symfony Builds the Container
  • Dependency Injection Extensions
  • Compiler Passes

Taught by

Ryan Weaver and Leanna Pelham

Reviews

Start your review of Journey to the Center of Symfony: The Dependency Injection Container

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.