public forceModuleVersion ( string $moduleName, string $version ) | ||
$moduleName | string | the name of the module |
$version | string | the new version |
public function forceModuleVersion($moduleName, $version)
{
foreach ($this->entryPoints as $epId => $ep) {
$launcher = $ep->getLauncher($moduleName);
if ($launcher) {
$launcher->setInstalledVersion($epId, $version);
}
}
}