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

I need to understand how to listen these events with symfony 5 listener. #72

Open
virtualmayur opened this issue Feb 3, 2020 · 3 comments

Comments

@virtualmayur
Copy link

virtualmayur commented Feb 3, 2020

I am using this notification bundle with Symfony 5, it works perfectly, but I got stuck to use the following mentioned events with Symfony 5.
These are the following events, and few of them are required for me to fetch and show details runtime at the time of event dispatch. I want to up bell count no when a notification is created or assigned. To do this there are events. I was tried to use it but it always shows in the not listened event list in the profiler.
'mgilet.notification.created'
'mgilet.notification.assigned' -> when a notification is added to a notifiable entity
'mgilet.notification.seen'
'mgilet.notification.unseen'
'mgilet.notification.modified'
'mgilet.notification.removed'
'mgilet.notification.delete'

@marcelglaeser @avramcosmin @matthieumota @Viperoo @emulienfou @4ssil
Hey guys can anyone of you please help me in this.

I have seen @aquibbaig you also done this, please help me there.

@virtualmayur virtualmayur changed the title I need to understand how to these events with symfony 5. I need to understand how to listen these events with symfony 5 listener. Feb 3, 2020
@easternmayurt
Copy link
Contributor

easternmayurt commented Feb 10, 2020

@maximilienGilet can you please help me how can I use the above mentioned events. Please help me in that.

@aquibbaig
Copy link

@virtualmayur It is better if you explore the bundle's source code for your use case. I did that and it's useful.

@parijke
Copy link

parijke commented Jul 27, 2020

How did you manage to get it working with Symfony 5 I get all kinds of errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants