Esempio n. 1
0
 /**
  * Saves a configuration file.
  *
  * The configuration file is saved to the same path that it was read from.
  *
  * @param ConfigFile $configFile The configuration file to save.
  *
  * @throws IOException If the file cannot be written.
  */
 public function saveConfigFile(ConfigFile $configFile)
 {
     $this->writer->writeConfigFile($configFile, $configFile->getPath());
     if ($this->factoryManager) {
         $this->factoryManager->autoGenerateFactoryClass();
     }
 }