ParaTest\Console\Testers\PHPUnit::getBootstrapFile PHP Method

getBootstrapFile() protected method

Fetch the path to the bootstrap file.
protected getBootstrapFile ( Symfony\Component\Console\Input\InputInterface $input, array $options ) : string
$input Symfony\Component\Console\Input\InputInterface
$options array
return string
    protected function getBootstrapFile(InputInterface $input, array $options)
    {
        if (isset($options['bootstrap'])) {
            return $options['bootstrap'];
        }
        if (!$this->hasConfig($input)) {
            return '';
        }
        $config = $this->getConfig($input);
        $bootstrap = $config->getBootstrap();
        return $bootstrap ? $config->getConfigDir() . $bootstrap : '';
    }