php - symfony2 doctrine postConnect event never triggered

Solution:
Thank you m2mdas. I was able to debug the event manager with your advice and I figured out that my listener was not listed. So I checked my config.yml again and it turned out that it was not well formed (2 blank characters were lacking) .
Anyway, everything is ok now, thank you very much for your help.
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: using $this when not in object context laravel
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.