summaryrefslogtreecommitdiff
path: root/plugins/af_readability/vendor/psr/http-factory/src/UriFactoryInterface.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/UriFactoryInterface.php
parent5006c754c42a09f5b88b258c2da4b9eff7508357 (diff)
readability: depend on psr/http-factory
Diffstat (limited to 'plugins/af_readability/vendor/psr/http-factory/src/UriFactoryInterface.php')
-rw-r--r--plugins/af_readability/vendor/psr/http-factory/src/UriFactoryInterface.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/af_readability/vendor/psr/http-factory/src/UriFactoryInterface.php b/plugins/af_readability/vendor/psr/http-factory/src/UriFactoryInterface.php
new file mode 100644
index 000000000..06df0b46a
--- /dev/null
+++ b/plugins/af_readability/vendor/psr/http-factory/src/UriFactoryInterface.php
@@ -0,0 +1,17 @@
+<?php
+
+namespace Psr\Http\Message;
+
+interface UriFactoryInterface
+{
+ /**
+ * Create a new URI.
+ *
+ * @param string $uri
+ *
+ * @return UriInterface
+ *
+ * @throws \InvalidArgumentException If the given URI cannot be parsed.
+ */
+ public function createUri(string $uri = ''): UriInterface;
+}