Want to see how Symfony really works under-the-hood? Let's do it!
In this tutorial, we'll dive deep: tracing from the first line of code that's executed in public/index.php through the core of Symfony's HttpKernel. It's a daring adventure that includes events, controller resolvers, request attributes, and giant sea monsters... probably:
- Hooking into Symfony with an event subscriber
- Finding where the Request is created
- The all-powerful HttpKernel::handle() method that's used in Symfony AND Drupal!
- See where the core events like RequestEvent, ControllerEvent and more are dispatched
- Controller resolver, argument resolver, argument value resolvers oh my!
- Request attributes: the secret carrier of framework info
- What is a sub-request?
- Manually creating and handling sub-requests
By the end of this tutorial, you'll understand how the dots connect deep under the surface of Symfony... making you capable of hooking into just about any part of Symfony. Woh.