📌  相关文章
📜  Illuminate\Contracts\Container\BindingResolutionException 目标类不存在 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:02.839000             🧑  作者: Mango

代码示例1
Routing namespaces have been updated on Laravel 8.X

On your router, you should define:
use App\Http\Controllers\TestController;

And then, declare:
Route::get('test',[TestController::class, 'test']);