protected function writeYml($yml, $fileName)
 {
     $yaml = new Dumper();
     $this->repairApostrophes($yml);
     $yamlData = $yaml->dump($yml, 4, 0, false, true);
     file_put_contents($fileName, $yamlData);
 }
 protected function writeYml($fileName, $yamlArr, $output)
 {
     $yaml = new Dumper();
     $yamlData = $yaml->dump($yamlArr, 4, 0, false, true);
     file_put_contents($fileName, str_replace("'@service_container'", "@service_container", $yamlData));
     //$output->writeln("Services configuration file <info>" . $fileName . "</info> generated.");
 }
 protected function writeYml($fileName)
 {
     $yaml = new Dumper();
     $yamlData = $yaml->dump($this->yamlArr, 4, 0, false, true);
     file_put_contents($fileName, $yamlData);
 }