summaryrefslogtreecommitdiff
path: root/vendor/guzzle/guzzle/src/Guzzle/Parser/UriTemplate/UriTemplateInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/guzzle/guzzle/src/Guzzle/Parser/UriTemplate/UriTemplateInterface.php')
-rw-r--r--vendor/guzzle/guzzle/src/Guzzle/Parser/UriTemplate/UriTemplateInterface.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/guzzle/guzzle/src/Guzzle/Parser/UriTemplate/UriTemplateInterface.php b/vendor/guzzle/guzzle/src/Guzzle/Parser/UriTemplate/UriTemplateInterface.php
new file mode 100644
index 0000000..c81d515
--- /dev/null
+++ b/vendor/guzzle/guzzle/src/Guzzle/Parser/UriTemplate/UriTemplateInterface.php
@@ -0,0 +1,21 @@
+<?php
+
+namespace Guzzle\Parser\UriTemplate;
+
+/**
+ * Expands URI templates using an array of variables
+ *
+ * @link http://tools.ietf.org/html/rfc6570
+ */
+interface UriTemplateInterface
+{
+ /**
+ * Expand the URI template using the supplied variables
+ *
+ * @param string $template URI Template to expand
+ * @param array $variables Variables to use with the expansion
+ *
+ * @return string Returns the expanded template
+ */
+ public function expand($template, array $variables);
+}