You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sprintf('Initializing MakeCommand while providing an instance of "%s" is deprecated. The $phpCompatUtil param will be removed in a future version.', PhpCompatUtil::class)
51
+
);
52
+
}
53
53
}
54
54
55
55
publicstaticfunctiongetCommandName(): string
@@ -68,6 +68,7 @@ public function configureCommand(Command $command, InputConfiguration $inputConf
68
68
->setDescription('Creates a new controller class')
69
69
->addArgument('controller-class', InputArgument::OPTIONAL, sprintf('Choose a name for your controller class (e.g. <fg=yellow>%sController</>)', Str::asClassName(Str::getRandomTerm())))
70
70
->addOption('no-template', null, InputOption::VALUE_NONE, 'Use this option to disable template generation')
71
+
->addOption('invokable', 'i', InputOption::VALUE_NONE, 'Use this option to create an invokable controller')
71
72
->addOption('context', 'c', InputOption::VALUE_OPTIONAL, 'your context config to generate on your target')
72
73
;
73
74
}
@@ -90,6 +91,8 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen
0 commit comments