mdref.json config
[mdref/mdref-http] / http / Env / getRequestBody.md
index 512128d12282dfdd971495764b95a8409b2957e5..fff03402a93c4ed4d50f3092f048f21bd477200e 100644 (file)
@@ -1,16 +1,17 @@
 # static http\Message\Body http\Env::getRequestBody([string $body_class_name])
 
-Retreive the current HTTP request's body.
+Retrieve the current HTTP request's body.
 
-## Parameters:
+## Params:
 
-* Optional ```string $body_class_name```  
-  A user class extending http\Body.
+* Optional string $body_class_name  
+  A user class extending http\Message\Body.
 
 ## Returns:
 
-* ```http\Message\Body``` instance representing the request body
+* http\Message\Body instance representing the request body
 
 ## Throws:
 
-* http\Exception
+* http\Exception\InvalidArgumentException
+* http\Exception\UnexpectedValueException