protected function invokeEngineEvent($method)
    {
        $project = $this->getProjectInstance();
        if ($project instanceof EngineEventInterface) {
            call_user_func_array([$project, $method], []);
        }

        $platform = $this->getPlatformInstance();
        if ($platform instanceof EngineEventInterface) {
            call_user_func_array([$platform, $method], []);
        }
    }
protected function invokeEngineEvent($method)
    {
        $project = $this->getProjectInstance();
        if ($project instanceof EngineEventInterface) {
            call_user_func_array([$project, $method], []);
        }

        $platform = $this->getPlatformInstance();
        if ($platform instanceof EngineEventInterface) {
            call_user_func_array([$platform, $method], []);
        }
    }
protected function invokeEngineEvent ( $ method ) { $ project = $ this -> getProjectInstance ( ) ; if ( $ project instanceof EngineEventInterface ) { call_user_func_array ( [ $ project , $ method ] , [ ] ) ; } $ platform = $ this -> getPlatformInstance ( ) ; if ( $ platform instanceof EngineEventInterface ) { call_user_func_array ( [ $ platform , $ method ] , [ ] ) ; } }
Invoke the engine event.

@param $method
The engine event method.
Invoke the engine event .