public function addModule(string $moduleName)
    {
        $this->modules[$moduleName] = new \BFW\Module($moduleName);
        $this->modules[$moduleName]->loadModule();
    }
public function addModule(string $moduleName)
    {
        $this->modules[$moduleName] = new \BFW\Module($moduleName);
        $this->modules[$moduleName]->loadModule();
    }
public function addModule ( string $ moduleName ) { $ this -> modules [ $ moduleName ] = new \ BFW \ Module ( $ moduleName ) ; $ this -> modules [ $ moduleName ] -> loadModule ( ) ; }
Add a module to the modules's list
And instantiate \BFW\Module for this module

@param string $moduleName The module's name

@return void
Add a module to the modules s list And instantiate \ BFW \ Module for this module