我在这个文件中遇到了这个错误: route/api.php这个错误指的是第16行 use Illuminate\Routing\Route; |-----------------| routes are loaded by the RouteServiceProvider within a group which
| is assigned the &qu
因此,在Laravel中,有一个web.php文件,其中使用了类Route,并调用了它的静态函数get和matched。如果你在谷歌上搜索,你会找到Illuminate\Routing\Route,但我认为这不是我要找的类,因为那个类没有静态函数get和match。@create')->name('post.create')
R