Shopware\Install\Command\ShopwareInstallReleaseCommand::interact PHP Method

interact() public method

public interact ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    public function interact(InputInterface $input, OutputInterface $output)
    {
        $this->validateInput($input);
        /** @var $ioService IoService */
        $ioService = $this->container->get('io_service');
        $this->askGenericOptions($input, $ioService);
        $release = $this->askRelease($input, $ioService);
        $suggestion = $release ?: 'latest';
        $installDir = $this->askInstallationDirectory($input, $ioService, $suggestion);
        $suggestion = $installDir ?: $suggestion;
        $this->askBasePath($input, $ioService, $suggestion);
        $this->askDatabaseUser($input, $ioService);
        $this->askDatabasePassword($input, $ioService);
        $this->askDatabaseName($input, $ioService, $suggestion);
    }