[PSR-7] Bridge documentation#5331
Conversation
|
I think it's better to just have a new cookbook section about PSR-7 and how to use it in your application (instead of creating a new section) |
This PR was squashed before being merged into the 2.8-dev branch (closes #1). Discussion ---------- Initial support | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | symfony/symfony-docs#5331 - [x] Composer dependencies - [x] Interfaces - [x] Stub - [x] HttpFoundationFactory implementation - [x] DiactorosFactory implementation - [x] StreamedResponse Commits ------- ca41146 Initial support
|
Moved to a cookbook entry. |
There was a problem hiding this comment.
Backslashes need to be escaped for the ResponseInterface too.
|
@xabbuh done |
|
We also need an entry for the new document in the toctree in |
|
Should be ok now. |
|
I have a question : Does Symfony 3.0 http foundation will make use of psr-7 or it will be using the bridge itself ? I have noticed some issues regarding splitting of the session component from http foundation etc. Thank you. |
|
@harikt 3.0 will not use psr-7 (so you'd use the bridge like now). We need to protect backwards compatibility - but we are discussing the best (and most responsible way) to move towards psr-7. |
This PR was merged into the 2.7 branch. Discussion ---------- [PSR-7] Bridge documentation | Q | A | ------------- | --- | Doc fix? | no | New docs? | yes | Applies to | 2.7 symfony/psr-http-message-bridge#1 | Fixed tickets | n/a Documents the PSR-7 Bridge. As there was no previous doc for bridges, I created a structure but not sur if this is a good idea. Commits ------- 695fe21 [PSR-7] Bridge documentation
|
Awesome @dunglas - thanks! |
* 2.7: (23 commits) [#5331] Tiny typo [#5373] Small tweak per Stof's comment [PSR-7] Bridge documentation Fix after install URL and new photo since AcmeDemoBundle is not part of 2.7 Fixed a minor grammar issue Fixed typos Link to the official repository of the bundle. Added mentions to some popular (and useful) Symfony bundles [#5095] Fixing a typo and updating to a more realistic example [Components][ClassLoader] remove DebugClassLoader [#4228] Move synthetic services to its own recipe clarify bundle installation instructions Implemented the suggestions made by Christian and Wouter Replace phpDocumentor by the standard PHPDoc Implemented the changes suggested by reviewers Fixed an internal link reference Reviewed the Bundles cookbook articles Updated the list of reserved domains and the URL reference Use the reserved domains example.com and example.org Constraints - empty strings and null values ...
* 2.8: (24 commits) [#5331] Tiny typo [#5373] Small tweak per Stof's comment Added depreciation note for the cascade_validation constraint and updated position of depreciation notes [PSR-7] Bridge documentation Fix after install URL and new photo since AcmeDemoBundle is not part of 2.7 Fixed a minor grammar issue Fixed typos Link to the official repository of the bundle. Added mentions to some popular (and useful) Symfony bundles [#5095] Fixing a typo and updating to a more realistic example [Components][ClassLoader] remove DebugClassLoader [#4228] Move synthetic services to its own recipe clarify bundle installation instructions Implemented the suggestions made by Christian and Wouter Replace phpDocumentor by the standard PHPDoc Implemented the changes suggested by reviewers Fixed an internal link reference Reviewed the Bundles cookbook articles Updated the list of reserved domains and the URL reference Use the reserved domains example.com and example.org ...
Documents the PSR-7 Bridge. As there was no previous doc for bridges, I created a structure but not sur if this is a good idea.