public function addConfiguration(array $configuration)
{
$yamlString = Yaml::dump($configuration, 5, 4);
$destinationFileName = 'ezplatform_behat_' . sha1($yamlString) . '.yml';
$destinationFilePath = 'app/config/' . $destinationFileName;
if (!file_exists($destinationFilePath)) {
file_put_contents($destinationFilePath, $yamlString);
}
$this->addImportToPlatformYaml($destinationFileName);
shell_exec('php app/console --env=behat cache:clear');
}