$request->headers()
Return all headers with polyfill for missing getallheaders function
$request->headers(): arrayReturn type
array
This method modifies the existing $request object it is applied to and returns it again.
Return all headers with polyfill for missing getallheaders function
$request->headers(): arrayarray
This method modifies the existing $request object it is applied to and returns it again.