"Deep Dive into Symfony's Dependency Injection Component"
summary
Symfony's DependencyInjection component compiles YAML into optimized PHP factories, supports auto-wiring via PHP 8 constructor types and attributes, and removes or inlines unused services so the container stays small and fast. It implements PSR-11, treats services as singletons by default, and uses service tags plus autoconfigure to collect implementations (example: CSV column transformers) and a decorator-based HTTP client to intercept requests; the described patterns are shown working end-to-end.
AI-written summary · about
chapters (3)
- 0:00Introduction and context
- 2:15Principles of dependency injection
- 6:30Modern dependency injection features
related talks
02h 23mMastering Symfony 4's Dependency Injection
48mDeveloping Symfony applications in 2023
43mDrupal8 for Symfony Developers
42mDrupal8 for Symfony developers
34mGetting the most out of Symfony4
01h 01mDeep dive into Symfony 4 internals
02h 37mSymfony 4 best practices (Part 2)
21mDrupal 8 BOGOFs: A Hitchhiker's Guide to Less Popular Symfony Components
