📜  laravel cookie (flash meesage for time) - PHP 代码示例

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

代码示例1
public function setCookie(Request $request) {

    Cookie::queue('name', $request->test, 10);

    return view('home');
 }