Sounds like all you need is an event dispatching system. That way someone can add an observer with a listener for said event and achieve whatever action is necessary without hacking your controller class.
Sounds like all you need is an event dispatching system. That way someone can add an observer with a listener for said event and achieve whatever action is necessary without hacking your controller class.