We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f714ede commit 5133ca4Copy full SHA for 5133ca4
src/Response/Text.php
@@ -1,6 +1,12 @@
1
<?php
2
namespace Gt\Fetch\Response;
3
4
+/**
5
+ * This class represents a string response. The reason it wraps a string with an
6
+ * object is to allow for the same code to construct any type of response, and
7
+ * in turn means that the Gt\Fetch\Response namespace is a good reference for
8
+ * the types of response possible.
9
+ */
10
class Text {
11
/** @var string */
12
protected $content;
0 commit comments