Let say I define this same event on 2 different controllers:
Normally, if the 2 controllers are already loaded, the event will be fired twice.
My question is, How to avoid the duplicate registration of the same event ?
I'm looking for an option like this:
This also helps for Inheritance of controllers, where you have listeners on the parent Controller, and you don't want those events to be registered for each child Controller.
Any idea ? I'm sure other people had to deal with this before.