itsgoingd / clockwork

Clockwork - php dev tools in your browser - server-side component
https://underground.works/clockwork
MIT License
5.69k stars 321 forks source link

Show listeners in events data source #683

Closed DominicDetta closed 9 months ago

DominicDetta commented 9 months ago

I'm creating an events datasource and it works but I would like to display the listeners associated to the fired events. The listeners are stored correctly in the json:

 "events": [
        {
            "event": "after::api.v1.sub-dossiers.create",
            "time": 1708329329.375426,
            "listeners": [
                "App\\Api\\V1\\DemandeDeComplement\\Event\\CreateValidationListEvent::onDispatch",
                "Closure (\/var\/www\/html\/src\/Signing\/src\/Event\/CreateDossierAttributeInPaperFormat.php:26-83)"
            ]
       }
  ]

This is what I see: clockwork web panel

DominicDetta commented 9 months ago

Sorry I found out that there are indeed listed after expanding the event...