EventScanner - Add utility class which can auto-identify listeners in an object
authorTim Otten <totten@civicrm.org>
Wed, 26 May 2021 04:40:15 +0000 (21:40 -0700)
committerTim Otten <totten@civicrm.org>
Wed, 26 May 2021 23:52:19 +0000 (16:52 -0700)
commitb90e57bea3e5b96002bbffb339fff9ed0ba98113
treeb5d0b30a05e152c7252299fa7586978b94e1b7cc
parent73ea760367556da32ef09feaabdaa0a59ea0e958
EventScanner - Add utility class which can auto-identify listeners in an object

```
$map = EventScanner::findListeners($someObject);
$dispatcher->addListenerMap($someObject, $map);
```
Civi/Core/CiviEventDispatcher.php
Civi/Core/Event/EventPrinter.php [new file with mode: 0644]
Civi/Core/Event/EventScanner.php [new file with mode: 0644]
Civi/Core/Event/HookStyleListener.php [new file with mode: 0644]
Civi/Core/Event/ServiceListener.php