Skip to content

Commit

Permalink
Let people know how to replace all the request data more easily.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 9, 2017
1 parent 986c23c commit 185f3cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Http/ServerRequest.php
Expand Up @@ -2026,6 +2026,8 @@ public function setInput($input)
* Returns an updated request object. This method returns
* a *new* request object and does not mutate the request in-place.
*
* Use `withParsedBody()` if you need to replace the all request data.
*
* @param string $name The dot separated path to insert $value at.
* @param mixed $value The value to insert into the request data.
* @return static
Expand Down

0 comments on commit 185f3cf

Please sign in to comment.