You can get the event manager from the container and see the events with the getListeners function. An example in the controller
$evd = $this->get('event_dispatcher'); $listeners = $evd->getListeners();
Description
public function getListeners($eventName = null);
Be careful, the doctrine has its own event dispatcher.
$em = $this->getDoctrine()->getManager(); $evd = $em->getEventManager(); $listeners = $evd->getListeners();
Alexey B.
source share