Example #1
0
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     parent::execute($input, $output);
     $manager = $this->getManager($input);
     if (!$manager->getWorkerDir()) {
         throw new \RuntimeException('Worker directory needs to be passed in via --dir or set in the dependency container');
     }
     $this->executeManagerFunction($input, $output, $manager, $input->getArgument('worker'));
 }
Example #2
0
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     parent::execute($input, $output);
     $this->setupQueue($input);
 }