You are browsing the documentation for Symfony 2.3 which is not maintained anymore.
Consider upgrading your projects to Symfony 5.2.
Recipes about Event Dispatcher
The Symfony Cookbook is a continuously growing collection of specific recipes that explain how to correctly solve the most recurrent problems that Symfony developers face in their day to day work.
- How to Create Event Listeners and Subscribers
- How to Set Up Before and After Filters
- How to Extend a Class without Using Inheritance
- How to Customize a Method Behavior without Using Inheritance
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.