dteoh/ZendFramework1-Doctrine2 — comment on commit 52f45480d54ef8e9fb7501a457a0f08cb4e7b3da
File:  line 0
By rdohms:

You can already do this in the DBAL configs:

resources.doctrine.dbal.connections.core.eventSubscribers[] = 'Gedmo\Timestampable\TimestampableListener'

But instead of binding classes to the specific events, you bind a class to all events and the class can select which ones to listen to, with something like this:

/**
* {@inheritdoc}
*/
public function getSubscribedEvents()
{
return array(
Events::postPersist,
Events::preUpdate,
Events::postUpdate,
Events::postRemove,
);
}

Not sure if this is the same you propose, but it should be very similar.