Core/Framework/Core.php
private function callAppEvent(AbstractApp $app, string $event)
    {
        if (method_exists($app, $event)) {
            return call_user_func([
                $app,
                $event
            ]);
        }
    }
private function callAppEvent(AbstractApp $app, string $event)
    {
        if (method_exists($app, $event)) {
            return call_user_func([
                $app,
                $event
            ]);
        }
    }
private function callAppEvent ( AbstractApp $ app , string $ event ) { if ( method_exists ( $ app , $ event ) ) { return call_user_func ( [ $ app , $ event ] ) ; } }
Calls an existing event method of an app

@param AbstractApp $app
@param string $event
Calls an existing event method of an app