summaryrefslogtreecommitdiff
path: root/vendor/guzzle/guzzle/src/Guzzle/Parser/Url/UrlParserInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/guzzle/guzzle/src/Guzzle/Parser/Url/UrlParserInterface.php')
-rw-r--r--vendor/guzzle/guzzle/src/Guzzle/Parser/Url/UrlParserInterface.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/vendor/guzzle/guzzle/src/Guzzle/Parser/Url/UrlParserInterface.php b/vendor/guzzle/guzzle/src/Guzzle/Parser/Url/UrlParserInterface.php
new file mode 100644
index 0000000..89ac4b3
--- /dev/null
+++ b/vendor/guzzle/guzzle/src/Guzzle/Parser/Url/UrlParserInterface.php
@@ -0,0 +1,19 @@
+<?php
+
+namespace Guzzle\Parser\Url;
+
+/**
+ * URL parser interface
+ */
+interface UrlParserInterface
+{
+ /**
+ * Parse a URL using special handling for a subset of UTF-8 characters in the query string if needed.
+ *
+ * @param string $url URL to parse
+ *
+ * @return array Returns an array identical to what is returned from parse_url(). When an array key is missing from
+ * this array, you must fill it in with NULL to avoid warnings in calling code.
+ */
+ public function parseUrl($url);
+}