Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to add property to the request object

//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']); 
 
PREVIOUS NEXT
Tagged: #add #property #request #object
ADD COMMENT
Topic
Name
9+1 =