public function addToList(\BFW\Install\ModuleInstall $module): self
    {
        $moduleName = $module->getName();
        
        $this->listToInstall[$moduleName] = $module;
        
        return $this;
    }
public function addToList(\BFW\Install\ModuleInstall $module): self
    {
        $moduleName = $module->getName();
        
        $this->listToInstall[$moduleName] = $module;
        
        return $this;
    }
public function addToList ( \ BFW \ Install \ ModuleInstall $ module ) : self { $ moduleName = $ module -> getName ( ) ; $ this -> listToInstall [ $ moduleName ] = $ module ; return $ this ; }
Add a new module to the list to install

@param \BFW\Install\ModuleInstall $module The new module

@return $this
Add a new module to the list to install