/** * Create database credentials using the supplied command and output. * * @param AbstractMagentoCommand $command * @param InputInterface $input * @param OutputInterface $output * @return static */ public static function fromCommand(AbstractMagentoCommand $command, InputInterface $input, OutputInterface $output) { return static::fromQuestionHelper($command->getHelper('question'), $input, $output); }