Commit fbca6db
committed
minor symfony#9898 [HttpFoundation] Add info for getAcceptableFormats() method (AndreiIgna)
This PR was squashed before being merged into the master branch (closes symfony#9898).
Discussion
----------
[HttpFoundation] Add info for getAcceptableFormats() method
Adds info for `Request::getAcceptableFormats()`
Should it add more info on docs page? Ex: `Request::getAcceptableContentTypes` returns the accepted content types which can be `text/html`, `application/json`, etc.
`Request::getAcceptableFormats` processes that and returns the formats based on those content types `html`, `json`
ref symfony/symfony#26486
Commits
-------
65d100e [HttpFoundation] Add info for getAcceptableFormats() method1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
293 | 308 | | |
294 | 309 | | |
295 | 310 | | |
| |||
0 commit comments