PHPnews.io

The Bulletproof Event Naming For Symfony Event Dispatcher

Written by Tomáš Votruba / Original link on May. 25, 2020

I wrote [intro to Symfony\EventDispatcher](https://pehapkari.cz/blog/2016/12/05/symfony-event-dispatcher/) and how to use it with simple event. But when it comes to dispatching events, you can choose from 4 different ways. Which one to choose and why? Today I will show you pros and cons of them to make it easier for you.

tomasvotruba

« PHP Internals News: Episode 55: Dealing with Bugs - Surface Book 3 review: the web developer's laptop [link] »