-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[HttpFoundation] Refactor the Request / Response classes to use the standard interfaces from php-fig #17392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Duplicate of #15414. And this has been discussed alot already. PSR-7 is immutable whereas symfonys Request/Response isn't. |
This is impossible without creating a new incompatible framework (even though you keep the name, which only makes things harder). this is why we have a PSR-7 bridge allowing to convert between PSR-7 and HttpFoundation instead. |
As discussed here, it may be the time to think about refactoring the
Request
and theResponse
classes to follow thephp-fig
standards.You can see this interfaces here.
Message from @iltar:
The text was updated successfully, but these errors were encountered: