/** * @param \Symfony\Component\Console\Input\InputInterface $input * * @return \Box\TestScribe\Config\GlobalComputedConfig */ public function config(InputInterface $input) { // Need to load the bootstrap file first // This is needed to set up class auto loader so // that the call to select methods can load the target // class correctly. $this->configHelper->loadBootstrapFile($input); $inputParams = $this->inputConfig->getInputParams($input); $inSourceFile = $inputParams->getSourceFile(); $options = $this->optionsConfig->getOptions($input, $inSourceFile); $outputParams = $this->outputConfig->getOutputParams($options, $inputParams); $inMethodObj = $this->paramHelper->getMethodObjFromParamObj($inputParams); $config = new GlobalComputedConfig($inputParams, $inMethodObj, $options, $outputParams); return $config; }