protected function &collectVars(InputInterface $input, OutputInterface $output, array $questions, array $vars = []) {
    $this->vars += $this->getHelper('dcg_input_handler')->collectVars($input, $output, $questions, $vars);
    return $this->vars;
  }
protected function &collectVars(InputInterface $input, OutputInterface $output, array $questions, array $vars = []) {
    $this->vars += $this->getHelper('dcg_input_handler')->collectVars($input, $output, $questions, $vars);
    return $this->vars;
  }
protected function & collectVars ( InputInterface $ input , OutputInterface $ output , array $ questions , array $ vars = [ ] ) { $ this -> vars += $ this -> getHelper ( 'dcg_input_handler' ) -> collectVars ( $ input , $ output , $ questions , $ vars ) ; return $ this -> vars ; }
Asks the user for template variables.

@param \Symfony\Component\Console\Input\InputInterface $input
Input instance.
@param \Symfony\Component\Console\Output\OutputInterface $output
Output instance.
@param array $questions
List of questions that the user should answer.
@param array $vars
Array of predefined template variables.

@return array
Template variables.

@see \DrupalCodeGenerator\InputHandler::collectVars()
Asks the user for template variables .