Commit a3ada8b
committed
feature #49614 [HttpFoundation] add
This PR was merged into the 6.3 branch.
Discussion
----------
[HttpFoundation] add `Request::getPayload()`
| Q | A
| ------------- | ---
| Branch? | 6.3
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Tickets | Fix #47646
| License | MIT
| Doc PR | todo
Alternative for #47938 based on feedback there.
```php
/** `@var` InputBag $input wrapping either Request::$request or Request::toArray() */
$input = $request->getPayload();
```
Commits
-------
4a0a439933 [HttpFoundation] add `Request::getPayload()`Request::getPayload() (kbond)3 files changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1504 | 1504 | | |
1505 | 1505 | | |
1506 | 1506 | | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
1507 | 1515 | | |
1508 | 1516 | | |
1509 | 1517 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1300 | 1300 | | |
1301 | 1301 | | |
1302 | 1302 | | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
1303 | 1314 | | |
1304 | 1315 | | |
1305 | 1316 | | |
| |||
0 commit comments