Feature/events dispatching available on Monitor model#150
Feature/events dispatching available on Monitor model#150alessandrofuda wants to merge 4 commits intoromanzipp:masterfrom
Conversation
|
Hey! Thanks for your contribution. The PR itself looks good but I'm currently debating if a custom Monitor class which can be overridden by the consuming application would be a good idea. |
Yes, sure is my fault :) |
Restored |
Yes, for the moment I use my custom |
|
+1 |
Hi,
for my need I had to intercept some user action from the UI (relative to
queue_monitortable,Monitormodel).For example, when a user delete an item from UI, I have to implement some action in my application.
So I propose to manage
Eventsfired by the Monitor model (on deleting and creating records).So, developers can makes their
Listeners, on application side, "hooking" to package'sEvents.In short: make available 4 main
Eventswe can use in our listeners in our application.Let me know if might be useful, thanks
(in the pr , restore .gitignore and
composer.json)