So something like:
override public function onRegister(): void
{
facade.registerMediator( new AppMediator( app ) );
}
=== Then, inside AppMediator ===
override public function onRegister(): void
{
facade.registerMediator( new GameMediator( app.game ) );
}
There is obviously an app helper in the AppMediator. The first onRegister() gets called by the facade but the second onRegister() doesn't get called by the facade.
Any explanation, I thought this was standard practice?
Gary Paluk
P.S. All other objects exist and are tested to be instantiated.