summaryrefslogtreecommitdiff
path: root/vendor/guzzlehttp/guzzle/src/BodySummarizerInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/guzzlehttp/guzzle/src/BodySummarizerInterface.php')
-rw-r--r--vendor/guzzlehttp/guzzle/src/BodySummarizerInterface.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/guzzlehttp/guzzle/src/BodySummarizerInterface.php b/vendor/guzzlehttp/guzzle/src/BodySummarizerInterface.php
new file mode 100644
index 000000000..3e02e036e
--- /dev/null
+++ b/vendor/guzzlehttp/guzzle/src/BodySummarizerInterface.php
@@ -0,0 +1,13 @@
+<?php
+
+namespace GuzzleHttp;
+
+use Psr\Http\Message\MessageInterface;
+
+interface BodySummarizerInterface
+{
+ /**
+ * Returns a summarized message body.
+ */
+ public function summarize(MessageInterface $message): ?string;
+}