/**
  * {@inheritdoc}
  */
 protected function interact(InputInterface $input, OutputInterface $output)
 {
     parent::interact($input, $output);
     $io = new DrupalStyle($input, $output);
     // --bundle-of option
     $bundle_of = $input->getOption('has-bundles');
     if (!$bundle_of) {
         $bundle_of = $io->confirm($this->trans('commands.generate.entity.content.questions.has-bundles'), false);
         $input->setOption('has-bundles', $bundle_of);
     }
 }
 /**
  * {@inheritdoc}
  */
 protected function interact(InputInterface $input, OutputInterface $output)
 {
     parent::interact($input, $output);
     $dialog = $this->getDialogHelper();
     $utils = $this->getStringHelper();
     // --bundle-of option
     $bundle_of = $input->getOption('has-bundles');
     if (!$bundle_of) {
         $bundle_of = $dialog->askConfirmation($output, $dialog->getQuestion($this->trans('commands.generate.entity.questions.has-bundles'), 'no', '?'), FALSE);
     }
     $input->setOption('has-bundles', $bundle_of);
 }
 /**
  * {@inheritdoc}
  */
 protected function interact(InputInterface $input, OutputInterface $output)
 {
     parent::interact($input, $output);
 }