public function getInstallerManager()
{
if (!$this->started) {
throw new LogicException('Puli was not started');
}
if (!$this->installerManager && $this->context instanceof ProjectContext) {
$this->installerManager = new ModuleFileInstallerManager($this->getRootModuleFileManager(), $this->getModuleManager()->getModules());
}
return $this->installerManager;
}