this->app->extend('command.controller.make' laravel code example
Example 1: Laravel 8 Resource
php artisan make:controller BlogController --resource
Example 2: Route::resource
Route::resource('photos', PhotoController::class);
php artisan make:controller BlogController --resource
Route::resource('photos', PhotoController::class);