📜  如何在 laravel 中获取 url - C# 代码示例

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

代码示例3
$url = route('routeName');

//if there is a param:
$url = route('routeName', ['id' => 1]);

https://laravel.com/docs/5.1/helpers#method-route