Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug module events panel #77

Closed
yii-bot opened this issue Jan 24, 2016 · 1 comment
Closed

debug module events panel #77

yii-bot opened this issue Jan 24, 2016 · 1 comment
Assignees
Labels
type:enhancement Enhancement
Milestone

Comments

@yii-bot
Copy link

yii-bot commented Jan 24, 2016

This issue has originally been reported by @Ragazzo at yiisoft/yii2#3842.
Moved here by @cebe.


Usually when creating application and using EDA or SOA it is good to have ability to check events and data that they hold.
I think this panel would be useful in debug module, several modern fw also includes it.

The only thing here we have to solve is how to subscribe to all or part of events, since we dont have wildcard matching and we dont have any central point for event. My suggestion is to either add wildcard matching or introduce in events panel property neededEvents in format:

'neededEvents' => [
     'some\component\class' => [
          //list of events to subscribe
     ],
],

In the same way we can make exclude option. Data that will be collected upon each event is its public properties json encoded or we can use Yii2 var_export not sure about the last one though .

@klimov-paul
Copy link
Member

Resolved by commit f69254a

@klimov-paul klimov-paul self-assigned this Feb 18, 2018
@klimov-paul klimov-paul added this to the 2.0.14 milestone Feb 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Enhancement
Projects
None yet
Development

No branches or pull requests

3 participants