Run Console Command from a Controller in 3.7

Hi, i recently updated to 3.7 I created some Console Commands and i need to call them from a controller.
In previous CakePhp ShellDispatcher was the way, now i can’t figure out how i can achieve the same purpose.


check this out:

add jobs from your controller action, worker picks up the job (task) which can in-turn run code or dispatch shells.