protected function getBehatConfig(array $options, $projectPath, OutputInterface $output)
{
$yaml = new Parser();
try {
$behat = $yaml->parse(file_get_contents($projectPath . "/puphpet/magestead/magento/stubs/behat.yml"));
$behat['default']['extensions']['MageTest\\MagentoExtension\\Extension']['base_url'] = $options['base_url'];
return $behat;
} catch (ParseException $e) {
$output->writeln('<error>Unable to parse the YAML config</error>');
}
return false;
}