private function persistServersData()
 {
     if ($this->serversData) {
         $this->rootModuleFileManager->setExtraKey(self::SERVERS_KEY, (object) $this->serversData);
     } else {
         $this->rootModuleFileManager->removeExtraKey(self::SERVERS_KEY);
     }
 }
 private function persistInstallersData()
 {
     $data = array();
     foreach ($this->rootInstallerDescriptors as $installerName => $installer) {
         $data[$installerName] = $this->installerToData($installer);
     }
     if ($data) {
         $this->rootModuleFileManager->setExtraKey(self::INSTALLERS_KEY, (object) $data);
     } else {
         $this->rootModuleFileManager->removeExtraKey(self::INSTALLERS_KEY);
     }
 }