Closed juliangut closed 7 years ago
On EventsTrait
Protected getEventManager() to replace several calls to $eventManager = $this->getManager()->getEventManager()
getEventManager()
$eventManager = $this->getManager()->getEventManager()
Public flatten event listeners when no event is provided to getEventListeners()
getEventListeners()
Protected getRegisteredEvents() => array_keys($eventManager->getListeners())
getRegisteredEvents() => array_keys($eventManager->getListeners())
On EventsTrait
Protected
getEventManager()
to replace several calls to$eventManager = $this->getManager()->getEventManager()
Public flatten event listeners when no event is provided to
getEventListeners()
Protected
getRegisteredEvents() => array_keys($eventManager->getListeners())