📜  como fazer rotas 无控制器 laravel 8 - PHP 代码示例

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

代码示例1
use App\Http\Controllers\UserController;

Route::get('/users', [UserController::class, 'index']);