📜  laravel 路由隐式绑定 - Html 代码示例

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

代码示例1
Route::get('api/users/{user}', function (App\User $user) {
    return $user->email;
});