summaryrefslogtreecommitdiffstats
path: root/vendor/guzzlehttp/promises/src/PromisorInterface.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vendor/guzzlehttp/promises/src/PromisorInterface.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/guzzlehttp/promises/src/PromisorInterface.php b/vendor/guzzlehttp/promises/src/PromisorInterface.php
new file mode 100644
index 0000000..2d2e342
--- /dev/null
+++ b/vendor/guzzlehttp/promises/src/PromisorInterface.php
@@ -0,0 +1,16 @@
+<?php
+
+namespace GuzzleHttp\Promise;
+
+/**
+ * Interface used with classes that return a promise.
+ */
+interface PromisorInterface
+{
+ /**
+ * Returns a promise.
+ *
+ * @return PromiseInterface
+ */
+ public function promise();
+}