📌  相关文章
📜  如何向请求对象添加属性 - PHP 代码示例

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

代码示例1
//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']);