Skip to content

Commit c97a551

Browse files
authored
Update Request.php
1 parent cb1f853 commit c97a551

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/HttpFoundation/Request.php

+4
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ class Request
8989
/**
9090
* Request body parameters ($_POST).
9191
*
92+
* @see getPayload() for portability between content types
93+
*
9294
* @var InputBag
9395
*/
9496
public $request;
@@ -1515,6 +1517,8 @@ public function getPayload(): InputBag
15151517
/**
15161518
* Gets the request body decoded as array, typically from a JSON payload.
15171519
*
1520+
* @see getPayload() for portability between content types
1521+
*
15181522
* @throws JsonException When the body cannot be decoded to an array
15191523
*/
15201524
public function toArray(): array

0 commit comments

Comments
 (0)