public static function moduleQuestions() {
    $questions['name'] = new Question('Module name');
    $questions['name']->setValidator([Utils::class, 'validateRequired']);
    $questions['machine_name'] = new Question('Module machine name');
    $questions['machine_name']->setValidator([Utils::class, 'validateMachineName']);
    return $questions;
  }
public static function moduleQuestions() {
    $questions['name'] = new Question('Module name');
    $questions['name']->setValidator([Utils::class, 'validateRequired']);
    $questions['machine_name'] = new Question('Module machine name');
    $questions['machine_name']->setValidator([Utils::class, 'validateMachineName']);
    return $questions;
  }
public static function moduleQuestions ( ) { $ questions [ 'name' ] = new Question ( 'Module name' ) ; $ questions [ 'name' ] -> setValidator ( [ Utils :: class , 'validateRequired' ] ) ; $ questions [ 'machine_name' ] = new Question ( 'Module machine name' ) ; $ questions [ 'machine_name' ] -> setValidator ( [ Utils :: class , 'validateMachineName' ] ) ; return $ questions ; }
Returns default questions for module generators.

@return \Symfony\Component\Console\Question\Question[]
Array of module questions.
Returns default questions for module generators .