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')); }
protected function execute(InputInterface $input, OutputInterface $output) { parent::execute($input, $output); $this->setupQueue($input); }