line('Options: ' . json_encode($this->options()), verbosity: OutputInterface::VERBOSITY_DEBUG); $input = $this->getInput(); $this->line('Input: ' . json_encode($input), verbosity: OutputInterface::VERBOSITY_DEBUG); $job = $proc->getJob($input); $this->line('Job: ' . json_encode($job), verbosity: OutputInterface::VERBOSITY_DEBUG); return static::SUCCESS; } protected function getInput(): InputData { return InputData::from($this->options())->assertValid(); } }