IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Events

Last modified: 10 August 2022

A good practice in applications design is making use of componentization and loose coupling. Ideally, components should have no knowledge of other components except for their interface or events. This allows reusing components over different applications or swapping out components with other implementations.

Symfony provides the EventDispatcher component that lets your application components communicate with each other by dispatching events and listening to them.