Subscribe to PHP Freaks RSS

Tomáš Votruba Blog: Don't Ever use Symfony Listeners

syndicated from on May 20, 2019

Another anti-pattern that deserves more attention than it has. I often see this in Symfony projects I consult and when I ask the dev why did he or she choose listener over subscriber, they don't really know - "it was in the Symfony documentation, you can read it there".

Not good enough. So why ...