http\Message\Body
[mdref/mdref-http] / http / Message / Body / __toString.md
diff --git a/http/Message/Body/__toString.md b/http/Message/Body/__toString.md
new file mode 100644 (file)
index 0000000..7d121aa
--- /dev/null
@@ -0,0 +1,26 @@
+# string http\Message\Body::__toString()
+
+String cast handler.
+
+## Params:
+
+None.
+
+## Returns:
+
+* string, the message body.
+
+## Example:
+
+    <?php
+    $body = new http\Message\Body;
+    $body->append("this\nis\nan\nexample!\n");
+    echo $body;
+    ?>
+
+Yields:
+
+    this
+    is
+    an
+    example!