| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,17 @@ |
| 1 |
+<?php |
|
| 2 |
+ |
|
| 3 |
+namespace Psr\Http\Message; |
|
| 4 |
+ |
|
| 5 |
+interface UriFactoryInterface |
|
| 6 |
+{
|
|
| 7 |
+ /** |
|
| 8 |
+ * Create a new URI. |
|
| 9 |
+ * |
|
| 10 |
+ * @param string $uri |
|
| 11 |
+ * |
|
| 12 |
+ * @return UriInterface |
|
| 13 |
+ * |
|
| 14 |
+ * @throws \InvalidArgumentException If the given URI cannot be parsed. |
|
| 15 |
+ */ |
|
| 16 |
+ public function createUri(string $uri = ''): UriInterface; |
|
| 17 |
+} |