How to use Http\Server to replace Dispatcher

@KevinPfeifer Kevin Pfeifer
Tue, 03 Sep 2024 10:44:46 +0000

you shouldn’t “forward” something from the shell to a controller action.

You should instead extract that controller action into a generic service class and call it in both your controller and your command.

See https://www.youtube.com/watch?v=z3E_UdH1XeE