📌  相关文章
📜  如何在 laravel 中向请求对象添加数据 - PHP 代码示例

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

代码示例2
//this is my code

this how to add single attribute to the request object in laravel:-
  
$request->request->add(['car' => 'value']); 

this is how to add multiple attributes to the request object in laravel:-
$request->request->add(['car' => 'value',  'end' => 'done']);