protected function runModule(string $moduleName)
    {
        $app = \BFW\Application::getInstance();
        
        $app->getSubjectList()
            ->getSubjectByName('ApplicationTasks')
            ->sendNotify('BfwApp_run_module_'.$moduleName);
        
        $this->moduleList
            ->getModuleByName($moduleName)
            ->runModule();
    }
protected function runModule(string $moduleName)
    {
        $app = \BFW\Application::getInstance();
        
        $app->getSubjectList()
            ->getSubjectByName('ApplicationTasks')
            ->sendNotify('BfwApp_run_module_'.$moduleName);
        
        $this->moduleList
            ->getModuleByName($moduleName)
            ->runModule();
    }
protected function runModule ( string $ moduleName ) { $ app = \ BFW \ Application :: getInstance ( ) ; $ app -> getSubjectList ( ) -> getSubjectByName ( 'ApplicationTasks' ) -> sendNotify ( 'BfwApp_run_module_' . $ moduleName ) ; $ this -> moduleList -> getModuleByName ( $ moduleName ) -> runModule ( ) ; }
Load a module

@param string $moduleName The module's name to load

@return void
Load a module