Magestead\Installers\MagentoProject::getBehatConfig PHP Метод

getBehatConfig() защищенный Метод

protected getBehatConfig ( array $options, $projectPath, Symfony\Component\Console\Output\OutputInterface $output ) : boolean | mixed
$options array
$projectPath
$output Symfony\Component\Console\Output\OutputInterface
Результат boolean | mixed
    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;
    }