Method Illuminate\\Routing\\Route::getBody does not exist. laravel validation code example
Example: Method Illuminate\Routing\Route::get does not exist
<?php
//This import is wrong:
use Illuminate\Routing\Route;
//You actually don't have to import any class as Laravel registers a global alias Route.
//If you want to import the right class, that would be:
use Illuminate\Support\Facades\Route;