summaryrefslogtreecommitdiff
path: root/plugins/af_readability/vendor/psr/http-factory/src/RequestFactoryInterface.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-07-24 14:09:22 +0300
committerAndrew Dolgov <[email protected]>2022-07-24 14:09:22 +0300
commit8cf421e1fcae66ee4a8ed6d8c007d26f501c0f1d (patch)
treebabed96bab33455a00997f410da9b19c687a077a /plugins/af_readability/vendor/psr/http-factory/src/RequestFactoryInterface.php
parent5006c754c42a09f5b88b258c2da4b9eff7508357 (diff)
readability: depend on psr/http-factory
Diffstat (limited to 'plugins/af_readability/vendor/psr/http-factory/src/RequestFactoryInterface.php')
-rw-r--r--plugins/af_readability/vendor/psr/http-factory/src/RequestFactoryInterface.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/af_readability/vendor/psr/http-factory/src/RequestFactoryInterface.php b/plugins/af_readability/vendor/psr/http-factory/src/RequestFactoryInterface.php
new file mode 100644
index 000000000..cb39a08bf
--- /dev/null
+++ b/plugins/af_readability/vendor/psr/http-factory/src/RequestFactoryInterface.php
@@ -0,0 +1,18 @@
+<?php
+
+namespace Psr\Http\Message;
+
+interface RequestFactoryInterface
+{
+ /**
+ * Create a new request.
+ *
+ * @param string $method The HTTP method associated with the request.
+ * @param UriInterface|string $uri The URI associated with the request. If
+ * the value is a string, the factory MUST create a UriInterface
+ * instance based on it.
+ *
+ * @return RequestInterface
+ */
+ public function createRequest(string $method, $uri): RequestInterface;
+}