DEV Community

Morcos Gad
Morcos Gad

Posted on • Updated on

Create an invoke function in one step

Create an invoke function in one step and you are surely familiar with the use of the invoke function in the Single Task Controller:-

php artisan make:controller TestController --invokable
Enter fullscreen mode Exit fullscreen mode

I hope to help someone.

Discussion (0)