summaryrefslogtreecommitdiff
path: root/src/Routing/UrlGeneratorInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Routing/UrlGeneratorInterface.php')
-rw-r--r--src/Routing/UrlGeneratorInterface.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Routing/UrlGeneratorInterface.php b/src/Routing/UrlGeneratorInterface.php
new file mode 100644
index 00000000..f1a8ffed
--- /dev/null
+++ b/src/Routing/UrlGeneratorInterface.php
@@ -0,0 +1,16 @@
+<?php
+
+namespace Engelsystem\Routing;
+
+/**
+ * To switch between different URL schemes.
+ */
+interface UrlGeneratorInterface
+{
+ /**
+ * @param string $path
+ * @param array $parameters
+ * @return string
+ */
+ public function linkTo($path, $parameters = []);
+}