public function doRun(InputInterface $input, OutputInterface $output) { $this->pheanstalkFactory->setHost($input->getParameterOption('--host', self::DEFAULT_HOST)); $this->pheanstalkFactory->setPort($input->getParameterOption('--port', self::DEFAULT_PORT)); return parent::doRun($input, $output); }