private function initializeConfiguration()
{
$configFile = $this->getApplication()->getConfigFile();
$referenceFile = $this->getApplication()->getConfigReferenceFile();
if (!file_exists($configFile)) {
$filesystem = new Filesystem();
$filesystem->dumpFile($configFile, file_get_contents($referenceFile));
$this->output->writeln('<info>Configuration file ' . $configFile . ' did not exist and has been created.</info>');
}
if (!is_readable($configFile)) {
throw new IOException('Configuration file ' . $configFile . ' is not readable.');
}
$this->configuration = ['acmephp' => Yaml::parse(file_get_contents($configFile))];
}