aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/league/uri/HttpFactory.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/league/uri/HttpFactory.php')
-rw-r--r--vendor/league/uri/HttpFactory.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/vendor/league/uri/HttpFactory.php b/vendor/league/uri/HttpFactory.php
new file mode 100644
index 000000000..3508e67cc
--- /dev/null
+++ b/vendor/league/uri/HttpFactory.php
@@ -0,0 +1,25 @@
+<?php
+
+/**
+ * League.Uri (https://uri.thephpleague.com)
+ *
+ * (c) Ignace Nyamagana Butera <nyamsprod@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+declare(strict_types=1);
+
+namespace League\Uri;
+
+use Psr\Http\Message\UriFactoryInterface;
+use Psr\Http\Message\UriInterface;
+
+final class HttpFactory implements UriFactoryInterface
+{
+ public function createUri(string $uri = ''): UriInterface
+ {
+ return Http::new($uri);
+ }
+}