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\\
I did all these
1: php artisan config:cache
2: checked for controller name spellings.
3: composer dump-autoload
4: Just changed the forward / slash to backward \ in route.
4th one worked for me.