I am using Laravel 6.0 and I try to list all my routes with artisan route:list, but it fails and returns:
artisan route:list
Illuminate\\Contracts\\Container\\
Now You Can use controller outside controller folder
use App\Http\submit; Route::get('/', [submit::class, 'index']);
Now my controller excited in http folder
You have to change in controller file something