Magestead\Helper\Options::setApplicationSettings PHP Method

setApplicationSettings() protected method

protected setApplicationSettings ( $helper, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, $project )
$helper
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$project
    protected function setApplicationSettings($helper, InputInterface $input, OutputInterface $output, $project)
    {
        $output->writeln('<comment>Lets configure your project\'s application</comment>');
        $appQuestion = new ChoiceQuestion("Which application do you want to install?", ['Magento', 'Magento2'], 0);
        $this->_app = strtolower($helper->ask($input, $output, $appQuestion));
        $baseUrlQuestion = new Question("Enter your application's base_url ({$project}.dev): ", $project . '.dev');
        $this->_baseUrl = strtolower($helper->ask($input, $output, $baseUrlQuestion));
        $currenyQuestion = new Question("Enter your application's default currency (GBP): ", 'GBP');
        $this->_currency = $helper->ask($input, $output, $currenyQuestion);
        $localeQuestion = new Question("Enter your application's default locale (en_GB): ", 'en_GB');
        $this->_locale = $helper->ask($input, $output, $localeQuestion);
    }