コード例 #1
0
 public function execute(InputInterface $input, OutputInterface $output)
 {
     $runnerFactory = new RunnerFactory();
     $runnerFactory->createParallel()->addProcesses($this->getProcesses($input, $output))->run();
 }
コード例 #2
0
 public function execute(InputInterface $input, OutputInterface $output)
 {
     $app = $this->getApplication();
     $runnerFactory = new RunnerFactory();
     $runnerFactory->createParallel()->addProcesses($app->find('test-remote-connection')->getProcesses($input, $output))->addProcesses($app->find('test-download')->getProcesses($input, $output))->run();
 }