Exemple #1
0
 /**
  * Pass parameters to the receiver and execute.
  *
  * @param InputInterface $input
  * @param OutputInterface $output
  *
  * @return int|null|void
  */
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $composerParams = new ComposerParams();
     $composerParams->applyComposerParams($this, $input);
     Configuration::applyConsoleConfigurationOptions($input);
     $receiver = new UpReceiver();
     return $receiver->execute($input, $output, $input->getArgument('env'), $input->getArgument('mysql-bin'), $input->getOption('versions-path'), $input->getOption('no-schema'), $input->getOption('install-provisional-version'), $input->getOption('provisional-version'));
 }
 /**
  * Pass parameters to the receiver and execute.
  *
  * @param InputInterface $input
  * @param OutputInterface $output
  *
  * @return int|null|void
  */
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $composerParams = new ComposerParams();
     $composerParams->applyComposerParams($this, $input);
     Configuration::applyConsoleConfigurationOptions($input);
     $receiver = new TeardownReceiver();
     return $receiver->execute($input, $output, $input->getArgument('env'), $input->getOption('confirm'));
 }