I was reading: http://symfony.com/doc/current/cookbook/doctrine/event_listeners_subscribers.html
It appears that using Doctrine event listeners this way is a bit wasteful, because I can not just define a specific entity to listen to and have to check for entity’s class within a listener class. This seems like a waste. Is there a way to indicate specific Entity to listen to?
No. You need to include this logic at the top of your listener. This is typically an
instanceofcheck: