Closed sy-records closed 4 months ago
@sy-records Laravel v10 which Octane supports doesn't uses Symfony v7 components but v6 ones. Is this PR also compatible with that?
I'll test it.
Edit: I tested. It is compatible with 10.x(Symfony v6) and 11.x(Symfony v7). @driesvints
Thank you @sy-records
@sy-records would this not totally break retrieving input using Illuminate\Http\Request@input
method?
@taylorotwell Tests using $request->attributes
and $request->request
have the same results.
Sorry, I mean in a real-world application, can you still use $request->input('foo')
on a PATCH request in Octane after this change? If so, how? How does Laravel know how to access that data since it's now in attributes
? Why not just set the request
property to InputBag
instead of changing it to use attributes
?
Checking this...
Fix #859
symfony/http-foundation
v7.0 added typed properties, so use attributes instead of request.